waybar: de-emojize, move KBD above tray

This commit is contained in:
Aminda Suomalainen 2022-06-04 14:07:09 +03:00
parent 27a6719e91
commit 11fe12f297
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@
"layer": "top", "layer": "top",
"position": "left", "position": "left",
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["cpu", "memory", "bluetooth", "battery", "pulseaudio", "tray", "sway/language", "clock"], "modules-right": ["cpu", "memory", "bluetooth", "battery", "pulseaudio", "sway/language", "tray", "clock"],
"sway/window": { "sway/window": {
"max-length": 50 "max-length": 50
}, },
@ -10,27 +10,27 @@
"format": "CPU {usage}%" "format": "CPU {usage}%"
}, },
"memory": { "memory": {
"format": "🐏 {percentage}%" "format": "RAM {percentage}%"
}, },
"bluetooth": { "bluetooth": {
"format": " {status}", "format": "BT {status}",
"format-connected": " {device_alias}", "format-connected": "BT {device_alias}",
"format-connected-battery": " {device_alias} {device_battery_percentage}%", "format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
}, },
"pulseaudio": { "pulseaudio": {
"format": "🔈 {volume}%", "format": "VOL {volume}%",
"format-bluetooth": "🔈 {volume}%" "format-bluetooth": "BT VOL {volume}%"
}, },
"battery": { "battery": {
"states": { "states": {
"warning": 40, "warning": 40,
"critical": 20 "critical": 20
}, },
"format": "🔋 {capacity}%", "format": "BAT {capacity}%"
}, },
"sway/language": { "sway/language": {
"format": " {short} {variant}", "format": "KBD {short} {variant}",
"on-click": "swaymsg input type:keyboard xkb_switch_layout next", "on-click": "swaymsg input type:keyboard xkb_switch_layout next"
}, },
"clock": { "clock": {
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}" "format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"