Make resize repeatable in Hyprland

This commit is contained in:
Thomas Avé 2024-10-24 16:04:32 +02:00
parent a3df23e8e2
commit 1eafabd3ef
2 changed files with 7 additions and 5 deletions

View File

@ -175,6 +175,12 @@ in {
"$mainMod, mouse:272, movewindow"
"$mainMod, mouse:273, resizewindow"
];
binde = [
"$mainMod $altMod, L, resizeactive, 20 0"
"$mainMod $altMod, H, resizeactive, -20 0"
"$mainMod $altMod, K, resizeactive, 0 -20"
"$mainMod $altMod, J, resizeactive, 0 20"
];
bind = [
"$mainMod, return, exec, ${launch_terminal}/bin/launch_terminal $(hyprctl activewindow -j | ${jq} .pid)"
"$mainMod SHIFT, return, exec, ${terminal}"
@ -221,10 +227,6 @@ in {
"$mainMod SHIFT, L, movewindow, r"
"$mainMod SHIFT, K, movewindow, u"
"$mainMod SHIFT, J, movewindow, d"
"$mainMod $altMod, L, resizeactive, 20 0"
"$mainMod $altMod, H, resizeactive, -20 0"
"$mainMod $altMod, K, resizeactive, 0 -20"
"$mainMod $altMod, J, resizeactive, 0 20"
"$mainMod SHIFT, T, ${workspace_command_prefix}movetoworkspace, empty"
"$mainMod, T, ${workspace_command_prefix}workspace, empty"
"$mainMod, TAB, ${workspace_command_prefix}workspace, m+1"

View File

@ -52,7 +52,7 @@ return {
{"<leader>f", vim.lsp.buf.code_action},
{"gd", vim.lsp.buf.definition},
{"gr", vim.lsp.buf.references},
{"<space>", vim.lsp.buf.hover},
{"<space><space>", vim.lsp.buf.hover},
{"<leader>rn", vim.lsp.buf.rename},
},
lazy = false,