Skip to content

Clicking on a module launches another module. #3697

Open
@Tower-Yikk

Description

@Tower-Yikk

Hello. Is there a way for Waybar modules to launch other waybar modules? For example, I want backlight to launch backlight/slider on-click. My current configuration for both things are as follows:

//brightness control
	"backlight/slider": {
		"min": 0,
		"max": 100,
		"orientation": "vertical", 
	},

	"backlight": {
        // "device": "acpi_video1",
        "format": "{percent}% {icon}",
        "format-icons": ["", "", "", "", "", "", "", "", ""],
        "on-click": "backlight/slider",
	},

Is there a specific command that needs to be written onto on-click's string in order to launch that module?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions