sway: fix keyboard language display
This commit is contained in:
parent
f1a244178f
commit
c0245c9d1c
1 changed files with 3 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
||||||
"height": 30,
|
"height": 30,
|
||||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["temperature", "network", "battery", "pulseaudio", "backlight", "cpu", "memory", "custom/layout", "clock", "tray"],
|
"modules-right": ["temperature", "network", "battery", "pulseaudio", "backlight", "cpu", "memory", "clock", "sway/language", "tray"],
|
||||||
// Module config
|
// Module config
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
|
@ -73,10 +73,8 @@
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": " {}%"
|
"format": " {}%"
|
||||||
},
|
},
|
||||||
"custom/layout": {
|
"sway/language": {
|
||||||
"exec": "~/.config/waybar/keyboard-layout.py",
|
"format": "| <span color='#bdbd45'>{short} {variant}</span>",
|
||||||
"return-type": "json",
|
|
||||||
"format": "| <span color='#ef9f33'>{}</span>"
|
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
|
|
Loading…
Reference in a new issue