Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.72k stars 710 forks source link

hyprland/language | the bar contains 3 dots instead of language shortname of 2 letters #2793

Open Aukstkalnis opened 10 months ago

Aukstkalnis commented 10 months ago

I am using Fedora 39 and 3 monitors setup. One is rotated 90 degrees. But I can see only ... in other monitors and EN in main monitor. But on startup sometimes I see ... in all monitors and when that happens i can not change the keyboard language because it reverts back to default.

My hyprlands/language configuration: "hyprland/language": { "format": "{}", "format-lt": "LT", "format-en": "EN", "keyboard-name": "at-translated-set-2-keyboard", "on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next" },

image

ghost commented 10 months ago

I have the same issue, Fedora 39, three dots

xvladqt commented 8 months ago

for some reason when chromium/vscodium focused i have "...", but when signal/discord i have normal language code

rickyson96 commented 7 months ago

in my case, it's because the width is too small to display all of the format. putting these config to style.css shows the content, though I'm not sure why it doesn't automatically expand.

#language {
    min-width: 50px
}
Aukstkalnis commented 7 months ago

Ok. I tried your solution and it works🙂 Thank you.

xvladqt commented 7 months ago

in my case, it's because the width is too small to display all of the format.

Rly, in my case too. My new 1440p primary monitor doesn't have this problem, but the old 1080p second monitor does. P.S. in my case, min width 20px is enough