feat(hyprland): add mouse binds and resize keyboard shortcuts
This commit is contained in:
@@ -19,12 +19,23 @@
|
|||||||
", XF86AudioNext, exec, playerctl next && notify-send -u low -t 1000 \"Next Track\" \"$(playerctl metadata title)\""
|
", XF86AudioNext, exec, playerctl next && notify-send -u low -t 1000 \"Next Track\" \"$(playerctl metadata title)\""
|
||||||
", XF86AudioMute, exec, swayosd-client --output-volume mute-toggle"
|
", XF86AudioMute, exec, swayosd-client --output-volume mute-toggle"
|
||||||
]; # FIXME: not working
|
]; # FIXME: not working
|
||||||
|
bindm = [
|
||||||
|
"SUPER, mouse:272, movewindow"
|
||||||
|
"SUPER, mouse:273, resizewindow"
|
||||||
|
];
|
||||||
|
|
||||||
bindd =
|
bindd =
|
||||||
[
|
[
|
||||||
# essential
|
# essential
|
||||||
"SUPER, Return, Open Terminal, exec, uwsm app -- xdg-terminal-exec"
|
"SUPER, Return, Open Terminal, exec, uwsm app -- xdg-terminal-exec"
|
||||||
"SUPER, Q, Kill active, killactive"
|
"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
|
# move focus
|
||||||
"SUPER, J, Move focus down, movefocus, d"
|
"SUPER, J, Move focus down, movefocus, d"
|
||||||
"SUPER, K, Move focus up, movefocus, u"
|
"SUPER, K, Move focus up, movefocus, u"
|
||||||
|
|||||||
Reference in New Issue
Block a user