summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------.cache/bg1
-rwxr-xr-x.local/bin/setbg2
l---------.local/share/bg1
3 files changed, 2 insertions, 2 deletions
diff --git a/.cache/bg b/.cache/bg
deleted file mode 120000
index 787af6f..0000000
--- a/.cache/bg
+++ /dev/null
@@ -1 +0,0 @@
-../.config/wall.png \ No newline at end of file
diff --git a/.local/bin/setbg b/.local/bin/setbg
index 7b07e23..8269378 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -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..."
diff --git a/.local/share/bg b/.local/share/bg
new file mode 120000
index 0000000..6c5d299
--- /dev/null
+++ b/.local/share/bg
@@ -0,0 +1 @@
+../../.config/wall.png \ No newline at end of file