Add check for background file
This commit is contained in:
parent
3be013e7e7
commit
b7f30ed60d
@ -14,7 +14,11 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
|
||||
compton &
|
||||
redshift &
|
||||
|
||||
if test -f /usr/share/backgrounds/gnome/Road.jpg ; then
|
||||
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
|
||||
else if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then
|
||||
feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg &
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v nextcloud &> /dev/null ; then
|
||||
|
Loading…
Reference in New Issue
Block a user