summaryrefslogtreecommitdiff
path: root/wallpaper.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-08 00:41:33 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-08 00:41:33 +1000
commitb9c146d469ac52db6bdd1534cceb49e009cec51b (patch)
tree773a9fffe3706777eedffdec6f2f85f57a3b2974 /wallpaper.fish
parentrecord: add delete action (diff)
downloadcaelestia-cli-b9c146d469ac52db6bdd1534cceb49e009cec51b.tar.gz
caelestia-cli-b9c146d469ac52db6bdd1534cceb49e009cec51b.tar.bz2
caelestia-cli-b9c146d469ac52db6bdd1534cceb49e009cec51b.zip
wallpaper: use shell for wallpaper
Diffstat (limited to 'wallpaper.fish')
-rwxr-xr-xwallpaper.fish9
1 files changed, 0 insertions, 9 deletions
diff --git a/wallpaper.fish b/wallpaper.fish
index d41add3..a6a4268 100755
--- a/wallpaper.fish
+++ b/wallpaper.fish
@@ -97,15 +97,6 @@ else
set chosen_wallpaper (random choice $wallpapers)
end
- # Change the wallpaper and output change if success
- hyprctl hyprpaper preload $chosen_wallpaper > /dev/null
- for monitor in (hyprctl -j monitors | jq -r '.[].name')
- hyprctl hyprpaper wallpaper "$monitor,$chosen_wallpaper" > /dev/null && log "Changed wallpaper on $monitor to $chosen_wallpaper"
- end
-
- # Unload unused wallpapers to preserve memory
- hyprctl hyprpaper unload unused > /dev/null
-
# Thumbnail wallpaper for colour gen
mkdir -p $C_CACHE/thumbnails
set -l thumb_path $C_CACHE/thumbnails/(sha1sum $chosen_wallpaper | cut -d ' ' -f 1).jpg