feat(hyprland): add window resize binds

This commit was merged in pull request #152.
This commit is contained in:
2026-10-11 15:00:03 -04:00
parent a8bd4bf4cf
commit be9c3c07a3
2 changed files with 55 additions and 1 deletions

View File

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