hyprpaper: fix monitor wallpaper mapping for 0.8.4
hyprpaper 0.8.4 doesn't honour the Stylix-generated "wallpaper=,<path>" 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 <noreply@anthropic.com>
This commit is contained in:
parent
fd5258c9ad
commit
18809b9fcb
1 changed files with 9 additions and 1 deletions
|
|
@ -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=,<path>"
|
||||
# (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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue