dotfiles/.config/waybar/config

77 lines
2.2 KiB
CSS

{
"modules-left": ["sway/workspaces"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "cpu", "memory", "temperature", "backlight", "battery", "tray", "clock"],
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["", ""],
"on-scroll-up": "set-light +10",
"on-scroll-down": "set-light -10",
"smooth-scrolling-threshold": 1,
},
"battery": {
"states": {
"warning": 30,
"critical": 15,
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["", "", "", "", ""],
},
"clock": {
"format": "{:%a %b %d, %R}",
"tooltip-format": "<tt>{calendar}</tt>",
},
"cpu": {
"format": "{usage}% ",
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": "",
},
},
"memory": {
"format": "{}% ",
},
"pulseaudio": {
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""],
},
"on-click": "pavucontrol",
"on-scroll-up": "set-vol +2",
"on-scroll-down": "set-vol -2",
"smooth-scrolling-threshold": 1,
},
"temperature": {
"critical-threshold": 80,
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""],
},
"tray": {
"icon-size": 21,
"spacing": 10,
},
"sway/workspaces": {
"disable-scroll": true,
"format": "{name}",
},
}
// vim: ft=css