diff options
Diffstat (limited to '.local/bin/setbg')
-rwxr-xr-x | .local/bin/setbg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg index 03f2bd0..b32783b 100755 --- a/.local/bin/setbg +++ b/.local/bin/setbg @@ -4,10 +4,9 @@ # Run by itself, set the wallpaper (at X start). # If given a file, set that as the new wallpaper. # If given a directory, choose random file in it. -# If wal is installed, also generate a colorscheme. # Location of link to wallpaper link. -bgloc="${XDG_CACHE_HOME:-$HOME/.cache/}/wall.png" +bgloc="${XDG_CACHE_HOME:-$HOME/.cache/}wall.png" [ -f "$1" ] && ln -sf "$(readlink -f "$1")" "$bgloc" && notify-send -i "$bgloc" "Changing wallpaper..." |