hyprland: fix 3-finger swipe, old workspace_swipe keys gone in 0.55, use hl.gesture
This commit is contained in:
parent
94f5e3c64f
commit
5b0b5b246b
1 changed files with 5 additions and 6 deletions
|
|
@ -162,12 +162,6 @@ in
|
||||||
scroll_event_delay = 50;
|
scroll_event_delay = 50;
|
||||||
};
|
};
|
||||||
|
|
||||||
gestures = {
|
|
||||||
workspace_swipe = true;
|
|
||||||
workspace_swipe_fingers = 3;
|
|
||||||
workspace_swipe_forever = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
no_warps = true;
|
no_warps = true;
|
||||||
};
|
};
|
||||||
|
|
@ -333,6 +327,11 @@ in
|
||||||
hl.bind(mod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }))
|
hl.bind(mod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" }))
|
||||||
hl.bind(mod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" }))
|
hl.bind(mod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" }))
|
||||||
|
|
||||||
|
${lib.optionalString isMacbook ''
|
||||||
|
-- Three-finger touchpad swipe between workspaces
|
||||||
|
hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" })
|
||||||
|
''}
|
||||||
|
|
||||||
-- Screenshots — Shift+Super+S matches GNOME binding
|
-- Screenshots — Shift+Super+S matches GNOME binding
|
||||||
-- Pin/unpin quickshell's focus grab around the region select so an
|
-- Pin/unpin quickshell's focus grab around the region select so an
|
||||||
-- open menu survives slurp's input grab (no-ops if qs isn't up).
|
-- open menu survives slurp's input grab (no-ops if qs isn't up).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue