From 3ce6d0ec1dd380fb09de3d3be3ef4bbb0d43346b Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:51:13 +0700 Subject: [PATCH] hyprland: mouse side button keybinds --- .config/hypr/hyprland/keybinds.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/hypr/hyprland/keybinds.conf b/.config/hypr/hyprland/keybinds.conf index 1951e77c..888fb011 100644 --- a/.config/hypr/hyprland/keybinds.conf +++ b/.config/hypr/hyprland/keybinds.conf @@ -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 +