monitors added to hypr config

This commit is contained in:
KoenDR06 2025-07-15 19:57:00 +02:00
parent 444186a0df
commit 2c5692e76b
4 changed files with 54 additions and 1 deletions

View file

@ -398,7 +398,30 @@ in {
};
};
monitors = {
defaultMonitor = mkOption {
type = types.bool;
default = true;
};
displays = mkOption {
type = types.listOf (types.submodule {
options = {
output = mkOption { type = types.str; };
resolution = mkOption { type = types.str; default = "highres"; };
refreshRate = mkOption { type = types.str; default = "highrr"; };
x = mkOption { type = types.int; };
y = mkOption { type = types.int; };
scale = mkOption { type = types.number; default = 1; };
transform = mkOption { type = types.enum [ 0 1 2 3 4 5 6 7 ]; default = 0; };
};
});
};
};
keybindings = {
};
};
};
};