waybar-config/config

70 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-01-06 00:50:42 +00:00
{
"layer": "top",
"position": "bottom",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["cpu", "memory", "pulseaudio", "clock"],
"sway/mode": {
"smooth-scrolling-threshold": 10
},
"sway/window": {
"max-length": 50,
"smooth-scrolling-threshold": 10
},
"sway/workspaces": {
"smooth-scrolling-threshold": 10,
"disable-scroll-wraparound": true,
"disable-scroll": false,
"enable-bar-scroll": true,
"all-outputs": true,
"format": "{name}: {icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"7": "",
"10": "",
"urgent": "",
"focused": "",
"default": ""
}
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "MUTE",
"format-icons": {
"headphones": "",
"default": [
"",
""
]
},
"scroll-step": 5,
"on-click": "pactl set-sink-mute 0 toggle",
"on-click-right": "pavucontrol"
},
"memory": {
"interval": 5,
"format": "Mem {}%",
"on-click": "sakura -x 'htop --sort-key=PERCENT_MEM'"
},
"cpu": {
"interval": 10,
"format": "{}% ",
"max-length": 10
},
"battery": {
"format": "{capacity}% {icon}",
"format-icons": ["", "", "", "", ""]
},
"clock": {
"format-alt": "{:%a, %d. %b %H:%M, %Y}"
},
"tray": {
"icon-size": 21,
"spacing": 10
}
}