Even it's not set by default in the config.toml I tried and it worked, so it should be in the config file (or adding another command)
[gestures.top.tap]
action = "command"
cmd = """hyprctl dispatch "hl.dispatch(hl.dsp.workspace.toggle_special("magic"))" """
And here is the updated syntax for the Hyprland dispatches
[gestures.top.left]
action = "command"
cmd = """hyprctl dispatch "hl.dsp.focus({ workspace = 'e-1' })" """
[gestures.top.right]
action = "command"
cmd = """hyprctl dispatch "hl.dsp.focus({ workspace = 'e+1' })" """
Tested locally and both the playerctl action and the multi-line string for hyprctl dispatch works.
Also the Autostart instructions for Hyprland in the README.md this is the correct syntax
hl.on("hyprland.start", function()
hl.exec_cmd("~/.local/bin/bezel")
end)
Even it's not set by default in the
config.tomlI tried and it worked, so it should be in the config file (or adding another command)And here is the updated syntax for the Hyprland dispatches
Tested locally and both the
playerctlaction and the multi-line string forhyprctl dispatchworks.Also the Autostart instructions for Hyprland in the
README.mdthis is the correct syntax