Files
dotfiles/waybar/config.jsonc
T

56 lines
1.1 KiB
JSON

{
"layer": "top",
"position": "top",
"height": 32,
"modules-left": ["niri/workspaces"],
"modules-center": ["clock"],
"modules-right": ["custom/power-profile", "custom/fan-profile", "pulseaudio", "network", "battery", "tray"],
"custom/power-profile": {
"exec": "~/.local/bin/power-profile",
"return-type": "json",
"interval": 30,
"signal": 8,
"on-click": "~/.local/bin/power-profile --menu"
},
"custom/fan-profile": {
"exec": "~/.local/bin/fan-profile",
"return-type": "json",
"interval": 5,
"signal": 9,
"on-click": "~/.local/bin/fan-profile --menu"
},
"clock": {
"format": "{:%a %b %d %H:%M}"
},
"battery": {
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format-icons": ["","","","",""],
"states": {
"warning": 30,
"critical": 15
}
},
"tray": {
"spacing": 8
},
"network": {
"format-wifi": " {essid}",
"format-ethernet": "󰈀",
"format-disconnected": "⚠"
},
"pulseaudio": {
"format": " {volume}%",
"format-muted": ""
}
}