xmd-load-wallpaper is more resilient
This commit is contained in:
parent
1a60d903b2
commit
6d88bd13a3
@ -1,4 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
. $XMD_USERDIR/wallpaper
|
||||
xwallpaper "--${mode}" "$file"
|
||||
if type "$XMD_USERDIR/wallpaper" > /dev/null; then
|
||||
. "$XMD_USERDIR/wallpaper"
|
||||
|
||||
if type xwallpaper > /dev/null; then
|
||||
xwallpaper "--${mode}" "$file"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user