Waybar
Waybar copied to clipboard
hyprland/window module tooltip
Docs for hyprland/window only got 3 documented options: format, rewrite and separate-outputs. But after reading sway/windows docs I found that options such as icon or max-length will also work for hyprland/window.
I set max-length to 100 and because of that sometimes title will look like this: Foo bar... (ellipsis at the end). I would like to have a tooltip on-hover with a full title of a window. sway/tooltip docs says it is enabled by default but it doesn't work with hyprland/windows, setting tooltip to true explicitly doesn't change anything either.
"hyprland/window": {
"max-length": 100, // Characters count
"separate-outputs": true,
"icon": true
},
Workaround
Display notification with full title:
"hyprland/window": {
...
"on-click": "dunstify \"$(hyprctl activewindow -j | jq -r .title)\""
},
Was trying to do a tooltip for this as well, would be great if support was added!