suppress wal error if not detected
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
|
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
|
||||||
|
|
||||||
# If pywal is installed, use it.
|
# If pywal is installed, use it.
|
||||||
type wal >/dev/null && { wal -c ;
|
type wal >/dev/null 2>&1 && { wal -c ;
|
||||||
wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun;
|
wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun;
|
||||||
xsetroot -name "fsignal:xrdb";
|
xsetroot -name "fsignal:xrdb";
|
||||||
killall dwmblocks;
|
killall dwmblocks;
|
||||||
|
|||||||
Reference in New Issue
Block a user