Skip to content

Add tooltip-format to hyprland language module#5106

Open
Chenhao-XU wants to merge 1 commit into
Alexays:masterfrom
Chenhao-XU:agent5/hyprland-language-tooltip
Open

Add tooltip-format to hyprland language module#5106
Chenhao-XU wants to merge 1 commit into
Alexays:masterfrom
Chenhao-XU:agent5/hyprland-language-tooltip

Conversation

@Chenhao-XU

Copy link
Copy Markdown

Fixes #3693

This adds tooltip formatting support to hyprland/language, matching the behavior users already have in similar language modules.

Changes:

  • read optional tooltip-format from the module config
  • format the tooltip with {long}, {short}, {shortDescription}, and {variant}
  • fall back to the displayed layout text when no custom tooltip format is configured
  • document tooltip-format and tooltip in waybar-hyprland-language(5)

Validation:

  • git diff --check

Notes:

  • I could not run a full local build in my Windows environment because Meson and the Linux/GTK/Wayland dependency stack are unavailable here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(hyprland/language) [Feature request] Tooltip on the module

1 participant