feat(hyprland): add window resize binds
This commit was merged in pull request #152.
This commit is contained in:
@@ -18,6 +18,11 @@
|
||||
]
|
||||
&& lib.xor (entry.value.action.direction != null) (entry.value.action.workspace != null)
|
||||
)
|
||||
|| (
|
||||
entry.value.action.kind == "resize-window"
|
||||
&& entry.value.action.direction != null
|
||||
&& entry.value.action.workspace == null
|
||||
)
|
||||
) entries;
|
||||
message = "Desktop keybind actions must set the fields their kind requires.";
|
||||
}
|
||||
@@ -31,6 +36,13 @@
|
||||
example = "SUPER + Return";
|
||||
};
|
||||
|
||||
repeating = lib.mkOption {
|
||||
description = "Repeats the keybind action while the key chord is held.";
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
example = true;
|
||||
};
|
||||
|
||||
action = lib.mkOption {
|
||||
description = "Declares the action this keybind runs.";
|
||||
type = lib.types.submodule {
|
||||
@@ -41,6 +53,7 @@
|
||||
"exec"
|
||||
"focus"
|
||||
"move-window"
|
||||
"resize-window"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user