Move bg link to ~/.local/share/ (#545)
* Move bg link to ~/.local/share/ often the ~/.cache directory is deleted because it gets too big, in my case if i compile stuff with yay, firefoxs chace also gets quite big, and mesa shaders are also stored there. * added a symlink to .config/wall.png * removed the .cache dir
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# If wal is installed, also generate a colorscheme.
|
||||
|
||||
# Location of link to wallpaper link.
|
||||
bgloc="${XDG_CACHE_HOME:-$HOME/.cache/}/bg"
|
||||
bgloc="${XDG_DATA_HOME:-$HOME/.local/share/}/bg"
|
||||
|
||||
[ -f "$1" ] && ln -sf "$(readlink -f "$1")" "$bgloc" && notify-send -i "$bgloc" "Changing wallpaper..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user