waybar: retab

This commit is contained in:
Aminda Suomalainen 2023-02-13 12:50:30 +02:00
parent 1b243c279d
commit 81b83347f7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,37 +1,37 @@
{ {
"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", "sway/language", "network", "bluetooth", "tray", "clock"], "modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
"sway/window": { "sway/window": {
"max-length": 50 "max-length": 50
}, },
"cpu": { "cpu": {
"format": "CPU {usage}%" "format": "CPU {usage}%"
}, },
"memory": { "memory": {
"format": "RAM {percentage}%" "format": "RAM {percentage}%"
}, },
"bluetooth": { "bluetooth": {
"format": "BT {status}", "format": "BT {status}",
"format-connected": "BT {device_alias}", "format-connected": "BT {device_alias}",
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%" "format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
}, },
"pulseaudio": { "pulseaudio": {
"format": "VOL {volume}%", "format": "VOL {volume}%",
"format-bluetooth": "BT VOL {volume}%" "format-bluetooth": "BT VOL {volume}%"
}, },
"battery": { "battery": {
"states": { "states": {
"warning": 45, "warning": 45,
"critical": 20 "critical": 20
}, },
"format": "BAT {capacity}%" "format": "BAT {capacity}%"
}, },
"sway/language": { "sway/language": {
"format": "KBD {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"
}, },
"network": { "network": {
//"interface": "wlan0", //"interface": "wlan0",
"format": "{ifname}", "format": "{ifname}",
@ -44,7 +44,7 @@
"tooltip-format-disconnected": "Disconnected", "tooltip-format-disconnected": "Disconnected",
"max-length": 50 "max-length": 50
}, },
"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}"
} }
} }