From cfebfbd7463d5ab040d5eee4c13110deadf635f1 Mon Sep 17 00:00:00 2001 From: LarsZauberer Date: Sat, 13 Apr 2024 10:34:59 +0200 Subject: [PATCH] hyprland monitor fix --- hosts/lars/hyprland.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/lars/hyprland.nix b/hosts/lars/hyprland.nix index 6dbcc8b..f9178a7 100644 --- a/hosts/lars/hyprland.nix +++ b/hosts/lars/hyprland.nix @@ -9,7 +9,7 @@ in { monitor = mkOption { description = "hyprland monitor config"; default = ",preferred,auto,1"; - type = types.listof(types.str); + type = types.listOf(types.str); }; }; @@ -41,6 +41,9 @@ in { wayland.windowManager.hyprland = { enable = true; settings = { + # Monitor config + monitor = cfg.monitor; + "$mod" = "SUPER"; input = { @@ -51,9 +54,10 @@ in { "$mod, Q, killactive" "$mod, return, exec, alacritty" "$mod SHIFT, return, exec, firefox" + "$mod SHIFT, m, exit" # Application - "$mod SHIFT, c, exec, code" + "$mod SHIFT, c, exec, code --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu" # Monitor management "$mod SHIFT, k, movecurrentworkspacetomonitor, DP-2"