fix(greetd): fix mainMonitor check

This commit is contained in:
matt1432 2023-12-17 17:34:56 -05:00
parent fc4a84a573
commit cee17e8c4d
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@
user = "matt";
hostName = "wim";
fontSize = 12.5;
mainMonitor = "eDP-1";
};
users.users.${config.vars.user} = {

View file

@ -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";