Files
dotfiles/pipktop/waybar/config.jsonc
2025-08-22 18:16:06 -04:00

106 lines
2.4 KiB
JSON

{
"layer": "top",
"height": 32,
"spacing": 20,
"output": "eDP-1",
"modules-left": [
"disk"
],
"modules-right": [
"cpu",
"memory#ram",
"memory#swap",
"custom/seperator",
"backlight",
"pulseaudio",
"battery",
"custom/seperator",
"clock",
"tray",
"custom/user"
],
"disk": {
"interval": 30,
"format": "{free} of {total} free",
"path": "/",
"tooltip": false
},
"custom/user": {
"exec": "/usr/bin/whoami",
"interval": "once",
"tooltip": false,
},
"clock": {
"interval": 1,
"format": "{:%H:%M:%S %d %b %Y}",
"tooltip": false
},
"custom/seperator": {
"format": "|",
"tooltip": false
},
"battery": {
"interval": 30,
"format-not-full": "BAT <span color=\"#ffffff\">{capacity}%</span> <span color=\"#b0b0b0\">({time})</span>",
"format-full": "<span color=\"#F0C674\">BAT</span> <span color=\"#ffffff\">{capacity}%</span> <span color=\"#b0b0b0\">(FULL)</span>",
"states": {
"full": 100,
"not-full": 99
},
"format-time": "{H}:{m}",
"tooltip": false
},
"pulseaudio": {
"format": "<span color=\"#F0C674\">VOL</span> {volume}%",
"format-muted": "<span color=\"#80a088\">muted</span>",
"on-click": "amixer set Master toggle",
"tooltip": false
},
"backlight": {
"format": "<span color=\"#F0C674\">BRI</span> {percent}%",
"tooltip": false
},
"memory#swap": {
"format": "<span color=\"#F0C674\">SWP</span> {swapPercentage}%",
"format-warning": "<span color=\"#FC5E03\">SWP</span> {usage}%",
"interval": 2,
"states": {
"warning": 90
},
"tooltip": false
},
"memory#ram": {
"format": "<span color=\"#F0C674\">RAM</span> {percentage}%",
"format-warning": "<span color=\"#FC5E03\">RAM</span> {usage}%",
"interval": 2,
"states": {
"warning": 90
},
"tooltip": false
},
"cpu": {
"format": "<span color=\"#F0C674\">CPU</span> {usage}%",
"format-warning": "<span color=\"#FC5E03\">CPU</span> {usage}%",
"interval": 2,
"states": {
"warning": 80
},
"tooltip": false
}
}