conf/waybar: add modules bluetooth, sway/language & adjust/emojize formats

This commit is contained in:
Aminda Suomalainen 2022-05-29 13:08:13 +03:00
parent 8ab7b06c6f
commit 571a3fc970
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

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