Skip to content

Add tooltip formatting to hyprland language module#5075

Open
keilogic wants to merge 1 commit into
Alexays:masterfrom
keilogic:hyprland-language-tooltip-format
Open

Add tooltip formatting to hyprland language module#5075
keilogic wants to merge 1 commit into
Alexays:masterfrom
keilogic:hyprland-language-tooltip-format

Conversation

@keilogic
Copy link
Copy Markdown

Fixes #3693.

Summary

  • add tooltip-format support to hyprland/language
  • use the same {long}, {short}, {shortDescription}, and {variant} replacements supported by the module format
  • fall back to the displayed label text when tooltip-format is not configured
  • document tooltip and tooltip-format in waybar-hyprland-language(5)

Testing

  • git diff --check

Note: I could not run a full Waybar build in this Windows environment because clang-format, meson, ninja, and a C++ compiler were not installed. The implementation mirrors the existing sway/language tooltip formatting path.

@keilogic
Copy link
Copy Markdown
Author

Hi, just checking whether this tooltip-format approach fits the Hyprland language module direction. Happy to revise if you prefer a different formatting behavior.

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