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:
Hekuran 2020-04-08 16:16:59 +02:00 committed by GitHub
parent 2d8fe0c738
commit c1e2aa9ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View file

@ -1 +0,0 @@
../.config/wall.png

View file

@ -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..."

1
.local/share/bg Symbolic link
View file

@ -0,0 +1 @@
../../.config/wall.png