fix(greetd): fix mainMonitor check
This commit is contained in:
parent
fc4a84a573
commit
cee17e8c4d
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
user = "matt";
|
||||
hostName = "wim";
|
||||
fontSize = 12.5;
|
||||
mainMonitor = "eDP-1";
|
||||
};
|
||||
|
||||
users.users.${config.vars.user} = {
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue