Skip to content

Add tooltip format for Hyprland language#5085

Open
xtakenotesx16 wants to merge 1 commit into
Alexays:masterfrom
xtakenotesx16:codex/hyprland-language-tooltip-format
Open

Add tooltip format for Hyprland language#5085
xtakenotesx16 wants to merge 1 commit into
Alexays:masterfrom
xtakenotesx16:codex/hyprland-language-tooltip-format

Conversation

@xtakenotesx16

@xtakenotesx16 xtakenotesx16 commented May 30, 2026

Copy link
Copy Markdown

Summary

  • Add tooltip-format support to hyprland/language
  • Format tooltip text with the same layout placeholders used by format
  • Document the new option in the Hyprland language man page

Problem

hyprland/language can format the visible label with {long}, {short}, {shortDescription}, and {variant}, but there is no separate tooltip format. This addresses #3693.

Fix

The module now reads tooltip-format from config and applies it on update when tooltips are enabled. If tooltip-format is not configured, the tooltip falls back to the displayed label text, matching the behavior used by similar language modules.

Verification:

  • Ran git diff --check.
  • Full build was not run locally because the workspace does not have Meson/Ninja/C++ build dependencies.
  • Runtime Hyprland check was not run locally because the workspace does not have a Hyprland session.

Risk

Low. The change is limited to hyprland/language tooltip rendering and documentation. Existing label formatting is unchanged.

@xtakenotesx16 xtakenotesx16 force-pushed the codex/hyprland-language-tooltip-format branch from 42359b5 to fd1b71b Compare May 30, 2026 20:21
@EmteZogaf

Copy link
Copy Markdown

Duplicate of #5012

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.

2 participants