script documentation

This commit is contained in:
Luke Smith
2019-05-31 19:38:43 -04:00
parent ae327871d2
commit 6b334b59fc
5 changed files with 26 additions and 6 deletions

View File

@@ -1,4 +1,9 @@
#!/bin/sh
# Sets the background. If given an argument, will set file as background.
# 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.
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
xwallpaper --zoom ~/.config/wall.png