2020-02-08 18:43:37 -05:00
|
|
|
#!/bin/sh
|
2019-05-31 19:38:43 -04:00
|
|
|
|
|
|
|
# In LARBS, ~/.config/wall.png is the location of the system wallpaper. This
|
|
|
|
# script, if given an argument, moves it there. This script without an
|
|
|
|
# argument sets ~/.config/wall.png as the wallpaper, which is required on login
|
2020-02-09 09:24:13 -05:00
|
|
|
# if you don't want a black screen.
|
2019-05-31 19:38:43 -04:00
|
|
|
|
2019-01-13 14:57:16 -05:00
|
|
|
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
|
2020-02-09 09:24:13 -05:00
|
|
|
|
|
|
|
# If pywal is installed, use it.
|
2020-03-13 12:31:19 -04:00
|
|
|
type wal >/dev/null 2>&1 && { wal -c ;
|
2020-02-09 09:24:13 -05:00
|
|
|
wal -s -i ~/.config/wall.png -o ~/.config/wal/postrun;
|
|
|
|
xsetroot -name "fsignal:xrdb";
|
|
|
|
killall dwmblocks;
|
|
|
|
setsid dwmblocks >/dev/null 2>&1 & }
|
|
|
|
|
2019-02-18 16:16:01 -05:00
|
|
|
xwallpaper --zoom ~/.config/wall.png
|