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