Skip to content

Config.toml update: Top tap gesture and correct syntax for hyprland dispatches #24

Description

@salanpro

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions