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:
parent
2d8fe0c738
commit
c1e2aa9ffc
3 changed files with 2 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
../.config/wall.png
|
|
@ -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
1
.local/share/bg
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.config/wall.png
|
Loading…
Reference in a new issue