screenshot script

This commit is contained in:
2 * r + 2 * t
2025-01-17 16:58:50 +11:00
parent 47733e964a
commit ef5f9e34fe
4 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -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"