summaryrefslogtreecommitdiffstats
path: root/.local/bin/setbg
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 11:25:28 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 11:25:28 -0400
commit38497bc704d04c5b5f6d6bb7a822fabe46bded28 (patch)
tree814458fcef233d6604adbb52174c4b5ada7ee458 /.local/bin/setbg
parenta6e7fd4ba7a76f16075a2e6e357af05826bae8d4 (diff)
parentc1e2aa9ffcf1c4ee116b0495b6e8bf6ba67c5188 (diff)
downloadeibhear-38497bc704d04c5b5f6d6bb7a822fabe46bded28.tar.gz
eibhear-38497bc704d04c5b5f6d6bb7a822fabe46bded28.tar.zst
eibhear-38497bc704d04c5b5f6d6bb7a822fabe46bded28.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/setbg')
-rwxr-xr-x.local/bin/setbg2
1 files changed, 1 insertions, 1 deletions
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..."