Add hyprland monitor config option
This commit is contained in:
parent
a1eb90dc21
commit
47cb73aef3
|
|
@ -24,6 +24,8 @@ in
|
||||||
};
|
};
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
monitor = cfg.monitor;
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
"$modifier" = "SUPER";
|
"$modifier" = "SUPER";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,12 @@ in
|
||||||
The terminal to use for Hyprland.
|
The terminal to use for Hyprland.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
monitor = mkOption {
|
||||||
|
type = types.listOf types.str;
|
||||||
|
default = [ ",preferred,auto,1" ];
|
||||||
|
description = ''
|
||||||
|
Monitors to use for Hyprland.
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue