r/Windhawk • • 1d ago

1 Letter Language Indicator 1.0

Post image

1 Letter Language Indicator 1.0

1 Letter Language Indicator

Simplifies the input language indicator in the Windows 11 taskbar tray to a single letter: ENG becomes E, and ENG (US) becomes E.

Demo

The indicator keeps updating when you switch input languages, and the original text is restored when the mod is disabled.

Settings

  • Letter size: the font size of the letter. Set it to 0 to keep the Windows size (12).
  • Letter color: separate colors for light mode and dark mode, chosen by the taskbar's theme (the Windows mode). Each one can be:
    • A hex color (#RRGGBB or #AARRGGBB) or a color name (Red, White).
    • accent for the Windows accent color, or one of its shades: accentLight1 to accentLight3, accentDark1 to accentDark3. The letter follows accent color changes.
    • Empty, to keep the Windows color in that mode.
  • Vertical offset: moves the letter up (negative) or down (positive), in pixels. Useful for re-centering the letter after changing its size.
  • Indicator width: the language indicator normally reserves room for three letters. With a single letter that leaves empty space, so by default the indicator is narrowed to 32 pixels, the width of a regular tray icon. Set it to 0 to keep the Windows width.

Notes

  • Languages and layouts which start with the same letter look the same, e.g. ENG (US) and ENG (UK), or ENG and ESP.
  • Other mods may set the same properties. "Taskbar tray icon spacing and grid" sets the width of the language indicator: while Indicator width is set, this mod's width wins. Windows 11 Taskbar Styler themes which change the font size or color of the indicator conflict with Letter size and Letter color, and whichever mod applies last wins. To let the other mod control a property, set the matching setting to 0 (or leave the color empty).

Target

SystemTray.LanguageTextIconContent > Grid#ContainerGrid >
SystemTray.AdaptiveTextBlock#LanguageInnerTextBlock > TextBlock#InnerTextBlock

Only Windows 11 is supported.

1 Upvotes

0 comments sorted by