Firestarter: Use Nitrogen if it's available

This commit is contained in:
Salt 2020-06-29 10:21:41 -05:00
parent da9b59d7a2
commit 9946b55f16

View File

@ -1,11 +1,11 @@
#.fsdefaults #.fsdefaults
[ -z "$DISPLAY" ] [ -z "$DISPLAY" ]
: :
command -v nitrogen && [ -r "/home/salt/.config/nitrogen/bg-saved.cfg" ]
nitrogen --restore
command -v feh && [ -r "/home/salt/.fehbg" ]
~/.fehbg
command -v hsetroot && [ -r ~/.config/firestarter/tile.png ] && [ "$(hostname)" == "dsk-cstm-0" ] command -v hsetroot && [ -r ~/.config/firestarter/tile.png ] && [ "$(hostname)" == "dsk-cstm-0" ]
hsetroot -tile "/home/salt/.config/firestarter/tile.png" hsetroot -tile "/home/salt/.config/firestarter/tile.png"
command -v hsetroot && [ -r ~/.config/firestarter/tile.png ] && [ -r ~/.config/firestarter/center.png ] command -v hsetroot && [ -r ~/.config/firestarter/tile.png ] && [ -r ~/.config/firestarter/center.png ]
hsetroot -tile "/home/salt/.config/firestarter/tile.png" -center "/home/salt/.config/firestarter/center.png" hsetroot -tile "/home/salt/.config/firestarter/tile.png" -center "/home/salt/.config/firestarter/center.png"
command -v feh && [ -r "/home/salt/.fehbg" ]
~/.fehbg
command -v nitrogen
nitrogen --restore