From ec8982c4f0b30fd0f8baedb34723ef77958a0462 Mon Sep 17 00:00:00 2001 From: Saumit Date: Tue, 15 Jul 2025 02:19:06 +0530 Subject: hypr: Using mousesidebuttons to toggle workspaces --- .config/hypr/hyprland.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 4baadbb..70f0539 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -306,6 +306,7 @@ bind = $MOD , L, exec, swaylock #bind = ALT ,Print, exec, flameshot gui bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the whole screen taken" "$IMG" -t 1000 # screenshot of whole screen bind = $MOD SHIFT,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region +bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region bind = ALT ,Print, exec, flameshot gui #otherkeyb @@ -374,6 +375,9 @@ bind = ALT, tab, workspace, e+1 bind = ALT SHIFT, tab, workspace, e-1 bind = $MOD, mouse_down, workspace, e+1 bind = $MOD, mouse_up, workspace, e-1 +# Scroll through existing workspaces with MOD + mouse sidebuttons +bind = $MOD, mouse:276, workspace, e+1 +bind = $MOD, mouse:275, workspace, e-1 # Move/resize windows with MOD + LMB/RMB and dragging bindm = $MOD, mouse:272, movewindow -- cgit v1.2.3