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,
|
||||
direction = "up",
|
||||
action = function()
|
||||
-- For whatever reason hl.dsp.global doesn't work here???
|
||||
hl.exec_cmd("qs -c $qsConfig ipc call search workspacesToggle")
|
||||
hl.dispatch(hl.dsp.global("quickshell:overviewWorkspacesToggle"))
|
||||
end
|
||||
})
|
||||
hl.gesture({
|
||||
fingers = 4,
|
||||
direction = "down",
|
||||
action = function()
|
||||
-- For whatever reason hl.dsp.global doesn't work here???
|
||||
hl.exec_cmd("qs -c $qsConfig ipc call search workspacesToggle")
|
||||
hl.dispatch(hl.dsp.global("quickshell:overviewWorkspacesToggle"))
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user