From 18809b9fcb1de7dd0a2dea34b805e90d2dc2c5ef Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 18 May 2026 09:59:30 +0100 Subject: [PATCH] hyprpaper: fix monitor wallpaper mapping for 0.8.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hyprpaper 0.8.4 doesn't honour the Stylix-generated "wallpaper=," empty-monitor wildcard — DP-2 was found but had no target. Override with explicit monitor names (DP-2 on Gaming, eDP-1 on Macbook) using config.stylix.image to avoid a circular reference through the preload list. Co-Authored-By: Claude Sonnet 4.6 --- settings/hyprland.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 6878887..4fc8a8f 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -109,6 +109,14 @@ in # Hyprpaper was previously started by stylix's Hyprland target; keep it. services.hyprpaper.enable = true; + # hyprpaper 0.8.4 doesn't honour the Stylix-generated "wallpaper=," + # (empty monitor = all) wildcard — the monitor stays unmapped. Override + # with explicit monitor names using config.stylix.image to avoid the + # circular dependency that arises from referencing services.hyprpaper.settings.preload. + services.hyprpaper.settings.wallpaper = lib.mkForce [ + "${if isGaming then "DP-2" else "eDP-1"},${config.stylix.image}" + ]; + wayland.windowManager.hyprland = { enable = true; configType = "lua"; @@ -164,7 +172,7 @@ in sensitivity = 0; } // lib.optionalAttrs isMacbook { touchpad = { - "tap-to-click" = true; + tap_to_click = true; tap_button_map = "lrm"; natural_scroll = true; };