Waybar
Waybar copied to clipboard
Add tooltip functionality on hyprland/language module
I added the possibility to show tooltips on hyprland/language module, as shown on the image below.
Tooltip is enabled by default and can be disabled using "tooltip": false option in the config. Format can be specified in the same way as the module by preceding tooltip- on the same configuration keys. Format replacements such as {short}, {long}, etc. are also valid. For example:
"hyprland/language": {
"format": " {}",
"format-en": "US",
"format-es": "ES",
"tooltip": true,
"tooltip-format": "{long}",
},
"hyprland/language": {
"format": " {}",
"format-en": "US",
"format-es": "ES",
"tooltip": true,
"tooltip-format": "{}",
"tooltip-format-es": "{Español}",
"tooltip-format-en": "{English (american)}",
},