voidrice/.local/bin/setbg

10 lines
431 B
Text
Raw Normal View History

2019-08-18 16:28:11 +00:00
#!/usr/bin/env sh
2019-05-31 23:38:43 +00: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
# if you don't want a blakc screen.
2019-01-13 19:57:16 +00:00
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
2019-02-18 21:16:01 +00:00
xwallpaper --zoom ~/.config/wall.png