diff --git a/devices/wim/default.nix b/devices/wim/default.nix index 0cb87fb..42aa167 100644 --- a/devices/wim/default.nix +++ b/devices/wim/default.nix @@ -18,6 +18,7 @@ user = "matt"; hostName = "wim"; fontSize = 12.5; + mainMonitor = "eDP-1"; }; users.users.${config.vars.user} = { diff --git a/modules/greetd/default.nix b/modules/greetd/default.nix index 7b795ce..726bdd9 100644 --- a/modules/greetd/default.nix +++ b/modules/greetd/default.nix @@ -44,7 +44,7 @@ # Check if user wants Regreet only on main monitor setupMonitors = - if (config.vars.mainMonitor != null && !config.vars.greetdDupe) + if (config.vars.mainMonitor != "null" && !config.vars.greetdDupe) then "${hyprBin}/hyprctl dispatch focusmonitor ${config.vars.mainMonitor}" else "${dupeMonitors}/bin/dupeMonitors";