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