diff --git a/modules/home/hyprland/hyprland.nix b/modules/home/hyprland/hyprland.nix index e410901..828b439 100644 --- a/modules/home/hyprland/hyprland.nix +++ b/modules/home/hyprland/hyprland.nix @@ -24,6 +24,8 @@ in }; xwayland.enable = true; settings = { + monitor = cfg.monitor; + general = { "$modifier" = "SUPER"; }; diff --git a/modules/options/hyprland.nix b/modules/options/hyprland.nix index cf1c24f..1f8f9b1 100644 --- a/modules/options/hyprland.nix +++ b/modules/options/hyprland.nix @@ -23,5 +23,12 @@ in The terminal to use for Hyprland. ''; }; + monitor = mkOption { + type = types.listOf types.str; + default = [ ",preferred,auto,1" ]; + description = '' + Monitors to use for Hyprland. + ''; + }; }; } \ No newline at end of file