Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Is there a way to make keyboard layout always visible? #553

Open
Tyrn opened this issue Dec 23, 2024 · 1 comment
Open

[FEATURE] Is there a way to make keyboard layout always visible? #553

Tyrn opened this issue Dec 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Tyrn
Copy link

Tyrn commented Dec 23, 2024

Is your feature request related to a problem? Please describe.
Is it possible to make the current keyboard layout always visible?

@Tyrn Tyrn added the enhancement New feature or request label Dec 23, 2024
@Anders1974
Copy link

Если не сложно напишу по русски, как сделал я:
в dotfiles/waybar/style.css ;добавил

/* -----------------------------------------------------

  • Language
  • ----------------------------------------------------- */

#language {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
Затем в config в раздел Modules Right добавил строку :
"hyprland/language",

Следующим шагом будет добавление в modules.json
// Language
"hyprland/language": {
"format": " {short}",
"on-click": "hyprctl switchxkblayout (вывод названия вашей клавиатуры в hyprctl devices например : sonix-usb-device-keyboard) next"
},

English :
as I did:
to dotfiles/waybar/style.css ;added

/* ------------------------------------------------ -----
*Language
*------------------------------------------------ ---- */

#language {
background-color: @backgroundlight;
font-size: 16px;
color: @textcolor2;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
Then in the config in the Modules Right section I added the line:
"hyprland/language",

The next step is to add it to modules.json
// Language
"hyprland/language": {
"format": "{short}",
"on-click": "hyprctl switchxkblayout (display the name of your keyboard in hyprctl devices for example: sonix-usb-device-keyboard) next"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants