-
-
Notifications
You must be signed in to change notification settings - Fork 724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to change text of tooltips for custom modules? #2914
Comments
Which module? What text do you want? Each module has different format specifiers/replacements as per the wiki, and these can be used when the module allows a |
Sorry, to clarify, I wanted the custom/arch, custom/firefox, custom/kitty, and custom/launcher modules to have a custom tooltip, I've used "tooltip-format", but it hasn't worked when I've tried it. |
It seems
#!/usr/bin/env bash
printf '{"text": "", "tooltip": "Shutdown on click"}\n'
//...
"custom/power-icon": {
"exec": "$HOME/path/to/script",
"return-type": "json",
"interval": "once",
"format": "{}",
},
//... Adding Edit: While ultimately it was my fault for missing the actual issue at hand, it would have been easier to spot if the question was reduced a little in scope. Next time you have an issue try to include only the relevant parts of the config please and any steps you've taken to try solve the issue already to make the reader's life a little easier 😄 |
Okay. Marking this as closed. |
I use this config, but want to use the supplied text instead of the icon while hovering the module.
Any idea on how this is possible?
The text was updated successfully, but these errors were encountered: