diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-08 00:41:33 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-08 00:41:33 +1000 |
| commit | b9c146d469ac52db6bdd1534cceb49e009cec51b (patch) | |
| tree | 773a9fffe3706777eedffdec6f2f85f57a3b2974 | |
| parent | record: add delete action (diff) | |
| download | caelestia-cli-b9c146d469ac52db6bdd1534cceb49e009cec51b.tar.gz caelestia-cli-b9c146d469ac52db6bdd1534cceb49e009cec51b.tar.bz2 caelestia-cli-b9c146d469ac52db6bdd1534cceb49e009cec51b.zip | |
wallpaper: use shell for wallpaper
| -rwxr-xr-x | wallpaper.fish | 9 |
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 |