summaryrefslogtreecommitdiff
path: root/change-wallpaper.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-17 16:58:50 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-17 16:58:50 +1100
commitef5f9e34fe30c13a1fa3ce2999819da3b0773bce (patch)
treef6ce0647b569d3578f97504f13a94b1758c35d28 /change-wallpaper.fish
parentmain: workspace action (diff)
downloadcaelestia-cli-ef5f9e34fe30c13a1fa3ce2999819da3b0773bce.tar.gz
caelestia-cli-ef5f9e34fe30c13a1fa3ce2999819da3b0773bce.tar.bz2
caelestia-cli-ef5f9e34fe30c13a1fa3ce2999819da3b0773bce.zip
screenshot script
Diffstat (limited to 'change-wallpaper.fish')
-rwxr-xr-xchange-wallpaper.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/change-wallpaper.fish b/change-wallpaper.fish
index 000a4c4..0bde3f2 100755
--- a/change-wallpaper.fish
+++ b/change-wallpaper.fish
@@ -31,7 +31,7 @@ if set -q _flag_h
echo ' -F, --no-filter Do not filter by size'
echo ' -t, --threshold <threshold> The minimum percentage of the size the image must be greater than to be selected (default '$threshold')'
else
- set -q XDG_CACHE_HOME && set cache_dir $XDG_CACHE_HOME/caelestia/wallpaper || set cache_dir ~/.cache/caelestia/wallpaper
+ set cache_dir $CACHE/wallpaper
# The path to the last chosen wallpaper
set last_wallpaper_path "$cache_dir/last.txt"