forked from Shinonome/dots-hyprland
use globalshortcut for 4finger up touchpad gesture
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user