mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
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
@ -7,7 +7,7 @@
|
|||||||
# If wal is installed, also generate a colorscheme.
|
# If wal is installed, also generate a colorscheme.
|
||||||
|
|
||||||
# Location of link to wallpaper link.
|
# 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..."
|
[ -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…
x
Reference in New Issue
Block a user