Skip to content

Add tooltip functionality on hyprland/language module#3698

Merged
Alexays merged 6 commits into
Alexays:masterfrom
vpcano:hyprland-language-tooltip
Jul 3, 2026
Merged

Add tooltip functionality on hyprland/language module#3698
Alexays merged 6 commits into
Alexays:masterfrom
vpcano:hyprland-language-tooltip

Conversation

@vpcano

@vpcano vpcano commented Oct 18, 2024

Copy link
Copy Markdown
Contributor

I added the possibility to show tooltips on hyprland/language module, as shown on the image below.

screenshot

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)}",
    },

@vpcano vpcano changed the title tooltip functionality on hyprland/language module Add tooltip functionality on hyprland/language module Oct 18, 2024
@vpcano
vpcano marked this pull request as ready for review October 19, 2024 16:05
@413x1nkp

Copy link
Copy Markdown
Contributor

I personally would love this to be merged, but wouldn't that also mean that the same functionality should be added for sway/language as well?

…ooltip

# Conflicts:
#	man/waybar-hyprland-language.5.scd
@Alexays
Alexays merged commit 1f2394a into Alexays:master Jul 3, 2026
9 checks passed
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.

3 participants