use globalshortcut for 4finger up touchpad gesture

This commit is contained in:
end-4
2026-05-11 23:00:50 +02:00
parent 010f070eef
commit 9f4afde0c5
+2 -4
View File
@@ -25,16 +25,14 @@ hl.gesture({
fingers = 4, fingers = 4,
direction = "up", direction = "up",
action = function() action = function()
-- For whatever reason hl.dsp.global doesn't work here??? hl.dispatch(hl.dsp.global("quickshell:overviewWorkspacesToggle"))
hl.exec_cmd("qs -c $qsConfig ipc call search workspacesToggle")
end end
}) })
hl.gesture({ hl.gesture({
fingers = 4, fingers = 4,
direction = "down", direction = "down",
action = function() action = function()
-- For whatever reason hl.dsp.global doesn't work here??? hl.dispatch(hl.dsp.global("quickshell:overviewWorkspacesToggle"))
hl.exec_cmd("qs -c $qsConfig ipc call search workspacesToggle")
end end
}) })