Support animated GIF wallpapers via awww
swaybg only ever renders one frame, so an animated GIF (detected by its magic bytes, not the .gif extension - the active wallpaper file is always literally named wallpaper.png regardless of real format) now goes through awww instead, which was already installed. Found that awww img's --transition-type none - the obvious flag for an instant switch - silently kills the render loop that also drives GIF frame advancement; --transition-step 255 gives the same instant switch without that side effect. New `wallpaper.py start` picks the right backend for whatever's currently active and replaces the hardcoded swaybg autostart line in hyprland.lua, so a GIF wallpaper survives a restart correctly too. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Dujsk9jYfxUVLtb5B8eC94
This commit is contained in:
@@ -82,7 +82,7 @@ if [ "$INSTALL_DEPS" = 1 ]; then
|
||||
echo "Installing dependencies via pacman (see README.md for apt/dnf equivalents)..."
|
||||
sudo pacman -S --needed hyprland sddm xdg-desktop-portal-hyprland quickshell kitty rofi \
|
||||
mako thunar thunar-volman thunar-archive-plugin tumbler gvfs gvfs-mtp gvfs-smb \
|
||||
xarchiver swaybg hyprcursor librsvg grim slurp wl-clipboard cliphist zenity \
|
||||
xarchiver swaybg awww hyprcursor librsvg grim slurp wl-clipboard cliphist zenity \
|
||||
networkmanager network-manager-applet wireplumber pavucontrol blueman brightnessctl \
|
||||
playerctl lm_sensors nvidia-utils curl python qt5ct qt6ct nwg-look materia-gtk-theme \
|
||||
papirus-icon-theme ttf-jetbrains-mono-nerd
|
||||
|
||||
Reference in New Issue
Block a user