diff --git a/home/home.nix b/home/home.nix index 6503ad1..69d5c6c 100644 --- a/home/home.nix +++ b/home/home.nix @@ -56,7 +56,8 @@ # Wayland utilities wl-clipboard # Clipboard for Wayland hyprcursor # Hyprland cursor theme support - swww # Animated wallpaper daemon (supports MP4/GIF) + # swww # Animated wallpaper daemon (supports GIF/WebP/etc) + mpvpaper # Video wallpaper player (supports MP4) # Ricing essentials # hyprpaper # Wallpaper daemon diff --git a/home/hyprland.nix b/home/hyprland.nix index a2aaef7..b7691b4 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -13,9 +13,12 @@ # Autostart applications exec-once = [ - "swww-daemon" # Start wallpaper daemon - # Set your wallpaper (place MP4/GIF in ~/nix-flake/assets/) - "swww img ~/nix-flake/assets/wallpaper.mp4" + # For GIF/WebP/static images - use swww: + # "swww-daemon && swww img ~/nix-flake/assets/wallpaper.gif" + + # For MP4 videos - use mpvpaper (replace 'eDP-1' with your monitor name from 'hyprctl monitors'): + "mpvpaper -o 'no-audio loop' eDP-1 ~/nix-flake/assets/wallpaper.mp4" + "waybar" "dunst" ];