Modules/Hyprland: Add generic windowrules option
This commit is contained in:
@ -438,7 +438,8 @@ in {
|
||||
]
|
||||
++ lib.pipe hyprland.transparent [
|
||||
(builtins.map mkTranslucentRule)
|
||||
];
|
||||
]
|
||||
++ hyprland.windowrules;
|
||||
|
||||
dwindle = {
|
||||
pseudotile = true;
|
||||
|
||||
@ -90,6 +90,16 @@ with mylib.modules; {
|
||||
'';
|
||||
};
|
||||
|
||||
windowrules = mkOption {
|
||||
type = types.listOf types.str;
|
||||
description = "Specify specific window rules.";
|
||||
example = ''
|
||||
[
|
||||
"suppressevent activate, class: Unity"
|
||||
]
|
||||
'';
|
||||
};
|
||||
|
||||
transparent-opacity = mkOption {
|
||||
type = types.str;
|
||||
description = "The opacity transparent windows should have.";
|
||||
|
||||
Reference in New Issue
Block a user