nixos/jaci/dotfiles/waybar/config

83 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

{
2024-01-27 12:34:48 -07:00
"modules-left": [
"wlr/taskbar"
],
"modules-center": [
"clock",
],
"modules-right": [
"idle_inhibitor",
"pulseaudio",
"custom/spotify",
2024-01-27 12:34:48 -07:00
"network",
"memory",
"cpu",
"custom/power",
],
// Modules
2024-01-27 12:34:48 -07:00
"wlr/taskbar": {
"format": "{icon} {name}",
"on-click": "minimize-raise",
2024-01-27 12:34:48 -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}",
},
"cpu": {
"interval": 5,
2024-01-27 12:34:48 -07:00
"format": " {usage}%",
"states": {
"warning": 70,
"critical": 90,
},
2024-01-27 12:34:48 -07:00
"on-click": "foot -e 'htop'",
},
"memory": {
"interval": 5,
"format": " {}%", // Icon: memory
2024-01-27 12:34:48 -07:00
"on-click": "foot -e 'htop'",
"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",
"tooltip": false
},
}