feat(hyprland): add mouse binds and resize keyboard shortcuts

This commit is contained in:
kenji
2025-12-27 22:30:43 -06:00
parent e96f291048
commit d28ef117fa
+11
View File
@@ -19,12 +19,23 @@
", XF86AudioNext, exec, playerctl next && notify-send -u low -t 1000 \"Next Track\" \"$(playerctl metadata title)\""
", XF86AudioMute, exec, swayosd-client --output-volume mute-toggle"
]; # FIXME: not working
bindm = [
"SUPER, mouse:272, movewindow"
"SUPER, mouse:273, resizewindow"
];
bindd =
[
# essential
"SUPER, Return, Open Terminal, exec, uwsm app -- xdg-terminal-exec"
"SUPER, Q, Kill active, killactive"
# resize
"SUPER CTRL, H, Resize Left, resizeactive, -40 0"
"SUPER CTRL, J, Resize Down, resizeactive, 0 40"
"SUPER CTRL, K, Resize Up, resizeactive, 0 -40"
"SUPER CTRL, L, Resize Right, resizeactive, 40 0"
# move focus
"SUPER, J, Move focus down, movefocus, d"
"SUPER, K, Move focus up, movefocus, u"