nixos/config/waybar/config
2023-08-31 13:27:45 +04:00

92 lines
1.4 KiB
JSON

// -*- mode: json -*-
{
"layer": "top",
"position": "top",
"modules-left": [
"wlr/workspaces",
],
"modules-center": [
],
"modules-right": [
"clock",
"pulseaudio",
"backlight",
"memory",
"cpu",
"battery",
"tray"
],
"wlr/workspaces": {
"all-outputs": true,
"disable-scroll": true,
"format": "{name}",
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": []
}
},
"clock": {
"format": "{:%H:%M, %m-%d}",
"tooltip": false
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "MUTE",
"format-icons": {
"headphones": "",
"default": [
"",
""
]
},
"scroll-step": 5,
"on-click": "pamixer -t",
"on-click-right": "pavucontrol"
},
"memory": {
"interval": 5,
"format": "Mem {}%"
},
"cpu": {
"interval": 5,
"format": "CPU {usage:2}%"
},
"backlight": {
"device": "intel_backlight",
"format": "{percent}% {icon}",
"format-icons": [" ", " "]
},
"battery": {
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"disk": {
"interval": 5,
"format": "Disk {percentage_used:2}%",
"path": "/"
},
"tray": {
"icon-size": 18
}
}