diff --git a/hyprland.conf b/hyprland.conf index c09cd10..de790f7 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -220,12 +220,17 @@ device { accel_profile = flat } -# https://wiki.hyprland.org/Configuring/Variables/#gestures -gestures { - workspace_swipe = true - workspace_swipe_fingers = 3 +device { + name = logitech-usb-optical-mouse + sensitivity = -0.4 + accel_profile = flat } +gesture = 3, horizontal, workspace +gesture = 3, vertical, fullscreen +gesture = 4, horizontal, resize +gesture = 4, vertical, special, magic + # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { @@ -334,6 +339,9 @@ bind = $mainMod CTRL, 0, exec, hyprctl dispatch moveworkspacetomonitor 10 curren # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic +windowrule = bordersize 2, floating:0, onworkspace:special:magic +workspace = name:special:magic, gapsout:30 + # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1