DSK: Add .fehbg compat
This commit is contained in:
parent
869e3b0fd4
commit
b17627fa06
Binary file not shown.
@ -41,10 +41,12 @@ case "$HOSTNAME" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Background setting
|
# Background setting
|
||||||
if command -v hsetroot > /dev/null 2>&1; then
|
if [ -f "~/.fehbg" ] && command -v feh; then
|
||||||
hsetroot -solid "#383c4a" -tile "$HOME/.wptile" -center "$HOME/.wpcenter"
|
~/.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
|
elif command -v nitrogen > /dev/null 2>&1; then
|
||||||
nitrogen --restore
|
nitrogen --restore &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$DSK_FLAG_HASRESTARTED" ]; then
|
if [ -z "$DSK_FLAG_HASRESTARTED" ]; then
|
||||||
|
Reference in New Issue
Block a user