1

Modules/Waybar: Make option accept list of outputs instead of single

This commit is contained in:
2026-03-20 20:00:12 +01:00
parent 6305d9ca2e
commit d1a6aafed5
3 changed files with 5 additions and 5 deletions

View File

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