Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

Labwc menu on Waybar

Open MatanzaBR opened this issue 11 months ago • 4 comments

Is it possible to directly call the Labwc menu from the Waybar?

MatanzaBR avatar May 16 '25 16:05 MatanzaBR

You could do it with a custom module I think

JassonCordones avatar May 19 '25 20:05 JassonCordones

You could do it with a custom module I think

Custom module leaves menu action stuck in waybar

Shortcut key to call labwc.


    "custom/menu": {
         "format": " ",
         "on-click": "wtype -M logo -k Space",
         "tooltip": false
    },

Result:

https://github.com/user-attachments/assets/2a7d0d2d-b148-41f5-a66f-ab29fa51070f

MatanzaBR avatar May 20 '25 06:05 MatanzaBR

I think you need to make a condition that checks the menu is already running and close it when you click on the module, if not then open it.

You can write it as a bash script and then run it from the module

JassonCordones avatar May 20 '25 13:05 JassonCordones

I think you need to make a condition that checks the menu is already running and close it when you click on the module, if not then open it.

The -P option does not work

$ wtype -M logo -k Space -P logo Unknown key 'logo'

MatanzaBR avatar May 20 '25 14:05 MatanzaBR