Added keyboard layout config to Hyprland bar
This commit is contained in:
parent
7c8337b8bc
commit
9c3514cad6
2 changed files with 9 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"modules-left": ["hyprland/workspaces"],
|
"modules-left": ["hyprland/workspaces"],
|
||||||
"modules-center": ["hyprland/window"],
|
"modules-center": ["hyprland/window"],
|
||||||
//"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
|
//"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
|
||||||
"modules-right": ["pulseaudio#hyprland", "backlight", "idle_inhibitor", "network#hyprland", "battery", "clock", "tray"],
|
"modules-right": ["hyprland/language", "pulseaudio#hyprland", "backlight", "idle_inhibitor", "network#hyprland", "battery", "clock", "tray"],
|
||||||
|
|
||||||
"include": "~/.config/waybar/modules",
|
"include": "~/.config/waybar/modules",
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,14 @@
|
||||||
"tooltip": true
|
"tooltip": true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"hyprland/language": {
|
||||||
|
"format": "[{short}-{shortDescription}{variant}]",
|
||||||
|
"tooltip-format": "{long}",
|
||||||
|
//"on-click": "swaymsg input type:keyboard xkb_switch_layout next",
|
||||||
|
"max-length": 15,
|
||||||
|
"tooltip": true
|
||||||
|
},
|
||||||
|
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"max-length": 80,
|
"max-length": 80,
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
|
|
Loading…
Reference in a new issue