Modules/Waybar: Make option accept list of outputs instead of single
This commit is contained in:
@ -7,9 +7,9 @@ with lib;
|
||||
with mylib.modules; {
|
||||
enable = mkEnableOption "Waybar";
|
||||
|
||||
monitor = mkOption {
|
||||
type = types.str;
|
||||
example = "HDMI-A-1";
|
||||
monitors = mkOption {
|
||||
type = types.listOf types.str;
|
||||
example = ''["HDMI-A-1", "DP-1"]'';
|
||||
description = "What monitor to display the Waybar on";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user