diff options
| author | Suleyman Farajli <suleyman@farajli.net> | 2025-11-03 22:48:56 +0400 |
|---|---|---|
| committer | Suleyman Farajli <suleyman@farajli.net> | 2025-11-03 22:48:56 +0400 |
| commit | 5e7f0c1fc647997b6ef1872c4af98ba0f79183b7 (patch) | |
| tree | acdcdaabf1a585d370a74e6f9f1851553081bd76 /scripts | |
| parent | 8fe031518b18a11df0d302154d69cab4302fcccc (diff) | |
refactor(gui): move wallpaper symlink to XDG cache directory
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/gui/sslock | 2 | ||||
| -rwxr-xr-x | scripts/gui/swall | 4 |
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" |
