Open je-vv opened 10 months ago
Any updates on this one?
Hi. You could get exactly that with:
"custom/librewolf": {
"return-type": "json",
"format": " {} ",
"exec": "printf '{\"text\": \"\", \"tooltip\": \"Librewolf Browser\"}'",
"interval": "once",
"on-click": "librewolf",
},
Salut!
@joesri you were right, that works just as you mentioned... Many thanks !
That said, it's sort of not intuitive to get there, hehe. Re-reading the custom module doc, now I can get sense of it, but without your example no way... Actually it'd be cleaner not needing exec
at all, so I'm not closing this, since I believe if not needing exec
it should not be forced at all, and still be consistent with other modules...
Hello !
As waybar doesn't offer out of the box quick launch buttons, I'm emulating them with custom modules, like:
And then:
This works, but for those not used to the utf-8 awesome font icons, it might be hard to guess what the modules trigger. Currently AFAIK custom modules do not support the "tooltip-format" which other modules do. If supported, that filed could make it really easy to provide a text hint of what's getting triggered by the module. For example:
Can this hint field be added to custom modules, so by positioning the mouse on the module (quick launch button emulated) a hint of what gets triggered is shown?
I guess there might be other ways to achieve that, but I bet nothing as simple as specifying the hint inline...
Thanks !