hyprland: mouse side button keybinds

This commit is contained in:
end-4 2024-03-07 14:51:13 +07:00
parent 67f73c98ff
commit 3ce6d0ec1d

View file

@ -120,6 +120,8 @@ bind = Super, BracketRight, movefocus, r
# Workspace, window, tab switch with keyboard
bind = Control+Super, right, workspace, +1
bind = Control+Super, left, workspace, -1
bind = Super, mouse:275, workspace, -1
bind = Super, mouse:276, workspace, +1
bind = Control+Super, BracketLeft, workspace, -1
bind = Control+Super, BracketRight, workspace, +1
bind = Control+Super, up, workspace, -5
@ -193,9 +195,14 @@ bindm = Super, mouse:273, resizewindow
bindm = Super, Z, movewindow
bind = Control+Super, Backslash, resizeactive, exact 640 480
# Arrow keys with IJKL
bindle = Alt, I, exec, ydotool key 103:1 103:0
bindle = Alt, K, exec, ydotool key 108:1 108:0
bindle = Alt, J, exec, ydotool key 105:1 105:0
bindle = Alt, L, exec, ydotool key 106:1 106:0
# Control + Side mouse btn for switching tabs (Ctrl+PgUp/PgDn)
bind = Control, mouse:275, exec, ydotool key 29:1 104:1 104:0 29:0
bind = Control, mouse:276, exec, ydotool key 29:1 109:1 109:0 29:0