DSK: Add .fehbg compat

This commit is contained in:
Salt 2019-04-04 01:17:17 -05:00
parent 869e3b0fd4
commit b17627fa06
2 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -41,10 +41,12 @@ case "$HOSTNAME" in
esac
# Background setting
if command -v hsetroot > /dev/null 2>&1; then
hsetroot -solid "#383c4a" -tile "$HOME/.wptile" -center "$HOME/.wpcenter"
if [ -f "~/.fehbg" ] && command -v feh; then
~/.fehbg &
elif command -v hsetroot > /dev/null 2>&1; then
hsetroot -solid "#383c4a" -tile "$HOME/.wptile" -center "$HOME/.wpcenter" &
elif command -v nitrogen > /dev/null 2>&1; then
nitrogen --restore
nitrogen --restore &
fi
if [ -z "$DSK_FLAG_HASRESTARTED" ]; then