waybar: less WIP config

This commit is contained in:
Aminda Suomalainen 2022-05-26 23:35:40 +03:00
parent cfc5b266dd
commit 9db8030c53
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 14 additions and 20 deletions

View File

@ -1,16 +0,0 @@
{
"layer": "top",
"position": "left",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["battery", "clock"],
"sway/window": {
"max-length": 50
},
"battery": {
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""]
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M}"
}
}

1
conf/waybar/config Symbolic link
View File

@ -0,0 +1 @@
config.json

View File

@ -2,15 +2,24 @@
"layer": "top", "layer": "top",
"position": "left", "position": "left",
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["battery", "clock"], "modules-right": ["cpu", "memory", "battery", "pulseaudio", "tray", "clock"],
"sway/window": { "sway/window": {
"max-length": 50 "max-length": 50
}, },
"cpu": {
"format": "CPU {usage}%"
},
"memory": {
"format": "MEM {percentage}%"
},
"pulseaudio": {
"format": "AUX {volume}%",
"format-bluetooth": "BT {volume}%"
},
"battery": { "battery": {
"format": "{capacity}% {icon}", "format": "BAT {capacity}%"
"format-icons": ["", "", "", "", ""]
}, },
"clock": { "clock": {
"format-alt": "{:%a, %d. %b %H:%M}" "format": "{:%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
} }
} }