quickshell overview starting work

This commit is contained in:
ari committed 2026-08-31 11:22:54 -04:00
1 parent 3c86efa4ff
commit fdca7d8d9d
21 files changed
+580 -272

No files matched your search

+51 -5
View File
@@ -21,13 +21,59 @@ hl.config({
-- Match niri's touchpad axes: 3-finger horizontal scrolls through columns
-- (scroll_move drives the scrolling-layout tape), vertical switches workspaces.
hl.gesture({ fingers = 3, direction = "horizontal", action = "scroll_move" })
hl.gesture({ fingers = 3, direction = "vertical", action = "workspace" })
hl.gesture({ fingers = 3, direction = "vertical", action = "workspace" })
-- niri moved a whole workspace to another monitor via Mod + touchpad scroll.
-- Hyprland gestures take a `mods` mask, so mirror that with Mod + 3-finger
-- swipes. Directions mirror niri's binds (swipe up -> monitor down, etc.);
-- flip the monitor letters if the axis feels reversed on your hardware.
hl.gesture({ fingers = 3, direction = "up", mods = "SUPER", action = function() hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor d") end })
hl.gesture({ fingers = 3, direction = "down", mods = "SUPER", action = function() hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor u") end })
hl.gesture({ fingers = 3, direction = "left", mods = "SUPER", action = function() hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor r") end })
hl.gesture({ fingers = 3, direction = "right", mods = "SUPER", action = function() hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor l") end })
hl.gesture({
fingers = 3,
direction = "up",
mods = "SUPER",
action = function()
hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor d")
end,
})
hl.gesture({
fingers = 3,
direction = "down",
mods = "SUPER",
action = function()
hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor u")
end,
})
hl.gesture({
fingers = 3,
direction = "left",
mods = "SUPER",
action = function()
hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor r")
end,
})
hl.gesture({
fingers = 3,
direction = "right",
mods = "SUPER",
action = function()
hl.exec_cmd("hyprctl dispatch movecurrentworkspacetomonitor l")
end,
})
-- niri: toggle-overview via 4-finger swipe (mirrors Mod+Tab in keybindings.lua).
-- Swipe up opens, swipe down closes; gestures are discrete triggers, no
-- swipe-progress animation is possible via hl.gesture.
hl.gesture({
fingers = 4,
direction = "up",
action = function()
hl.exec_cmd("qs -c overview ipc call overview open")
end,
})
hl.gesture({
fingers = 4,
direction = "down",
action = function()
hl.exec_cmd("qs -c overview ipc call overview close")
end,
})