From 4d4df196e1522b122b458db2fad695b7c0dc29bc Mon Sep 17 00:00:00 2001 From: Lilly Date: Mon, 5 Jan 2026 18:28:46 +0000 Subject: [PATCH] Auto-commit: 2026-01-05 18:28:46 --- home/desktop/hyprland/rules/windows.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/desktop/hyprland/rules/windows.nix b/home/desktop/hyprland/rules/windows.nix index ced4d61..bf03444 100644 --- a/home/desktop/hyprland/rules/windows.nix +++ b/home/desktop/hyprland/rules/windows.nix @@ -1,5 +1,9 @@ +{ lib, nixosConfig, ... }: +let + cfg = nixosConfig.my.desktop; +in { - wayland.windowManager.hyprland = { + wayland.windowManager.hyprland = lib.mkIf (cfg.enable && cfg.hyprland.enable) { settings = { "$games" = "^(steam_app_.*|gamescope|starrail.exe|.*\.exe)$"; "$launch_on_second_monitor" = "^(vesktop|spotify)$";