summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gui/sslock2
-rwxr-xr-xscripts/gui/swall4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gui/sslock b/scripts/gui/sslock
index 8af1611..0751de7 100755
--- a/scripts/gui/sslock
+++ b/scripts/gui/sslock
@@ -16,5 +16,5 @@ check_program "slock"
[ "${#}" != 0 ] && invalid_use
-BACKGROUND="${XDG_CONFIG_HOME:-$HOME/.config}/wallpaper/current"
+BACKGROUND="${XDG_CACHE_HOME:-$HOME/.cache}/wallpaper/current"
slock -f "${BACKGROUND}"
diff --git a/scripts/gui/swall b/scripts/gui/swall
index 7628fff..9cb9e39 100755
--- a/scripts/gui/swall
+++ b/scripts/gui/swall
@@ -11,7 +11,7 @@ options:
-h Print this message and exit
NOTE: default directory is ~/.local/share/wallpapers
-A symlink at ~/.config/wallpapers/current is created pointing to the selected wallpaper.
+A symlink at ~/.cache/wallpapers/current is created pointing to the selected wallpaper.
EOF
@@ -21,7 +21,7 @@ exit 0
check_program "xwallpaper"
-SYMLINK="${XDG_CONFIG_HOME:-$HOME/.config}/wallpaper/current"
+SYMLINK="${XDG_CACHE_HOME:-$HOME/.cache}/wallpaper/current"
if [ "${#}" = 0 ]; then
input="${XDG_DATA_HOME:-$HOME/.local/share}/wallpapers"