2024-01-20 20:00:22 -07:00
|
|
|
{
|
2024-01-27 12:34:48 -07:00
|
|
|
"modules-left": [
|
|
|
|
"wlr/taskbar"
|
|
|
|
],
|
|
|
|
"modules-center": [
|
|
|
|
"clock",
|
|
|
|
],
|
2024-01-20 20:00:22 -07:00
|
|
|
"modules-right": [
|
|
|
|
"idle_inhibitor",
|
|
|
|
"pulseaudio",
|
|
|
|
"custom/spotify",
|
2024-01-27 12:34:48 -07:00
|
|
|
"network",
|
|
|
|
"memory",
|
|
|
|
"cpu",
|
2024-01-20 20:00:22 -07:00
|
|
|
"custom/power",
|
|
|
|
],
|
|
|
|
// Modules
|
2024-01-27 12:34:48 -07:00
|
|
|
"wlr/taskbar": {
|
|
|
|
"format": "{icon} {name}",
|
2024-01-20 20:00:22 -07:00
|
|
|
"on-click": "minimize-raise",
|
2024-01-27 12:34:48 -07:00
|
|
|
},
|
2024-01-20 20:00:22 -07:00
|
|
|
"idle_inhibitor": {
|
|
|
|
"format": "{icon} ",
|
|
|
|
"format-icons":{
|
|
|
|
"activated": "",
|
|
|
|
"deactivated": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"interval": 10,
|
2024-01-27 12:34:48 -07:00
|
|
|
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
|
|
|
"format": " {:%I:%M %p}",
|
2024-01-20 20:00:22 -07:00
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"interval": 5,
|
2024-01-27 12:34:48 -07:00
|
|
|
"format": " {usage}%",
|
2024-01-20 20:00:22 -07:00
|
|
|
"states": {
|
|
|
|
"warning": 70,
|
|
|
|
"critical": 90,
|
|
|
|
},
|
2024-01-27 12:34:48 -07:00
|
|
|
"on-click": "foot -e 'htop'",
|
2024-01-20 20:00:22 -07:00
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"interval": 5,
|
|
|
|
"format": " {}%", // Icon: memory
|
2024-01-27 12:34:48 -07:00
|
|
|
"on-click": "foot -e 'htop'",
|
2024-01-20 20:00:22 -07:00
|
|
|
"states": {
|
|
|
|
"warning": 70,
|
|
|
|
"critical": 90
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"scroll-step": 1, // %, can be a float
|
|
|
|
"format": "{volume}% {icon}",
|
|
|
|
"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": "pactl set-sink-volume @DEFAULT_SINK@ +2%",
|
|
|
|
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -2%",
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"icon-size": 18,
|
|
|
|
"spacing":10,
|
|
|
|
},
|
|
|
|
"custom/spotify": {
|
|
|
|
"format": " ",
|
2024-01-27 12:34:48 -07:00
|
|
|
"on-click": "spot",
|
2024-01-20 20:00:22 -07:00
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
}
|