dotfiles/.config/waybar/config

79 lines
1.8 KiB
Text

{
"layer": "top",
"position": "bottom",
"spacing": 8,
"height": 22,
"output": ["HEADLESS-1", "HDMI-A-2"],
"fixed-center": false,
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/mic"],
"modules-center": [],
"modules-right": ["custom/timer", "custom/oven", "custom/maildir", "custom/nagios", "custom/weather", "custom/aqi", "memory", "cpu", "clock", "tray"],
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"tray": {
"spacing": 4
},
"clock": {
"interval": 5,
"format": "{:%a %b %d %R:%OS}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": " {usage:02d}%",
"tooltip": true
},
"memory": {
"format": " {}%",
"states": {
"warning": 80,
"critical": 90
}
},
"custom/mic": {
"exec": "$HOME/workspace/foxstatus/modules/mic.py",
"max-length": 7,
"signal": 1
},
"custom/aqi": {
"exec": "$HOME/workspace/foxstatus/modules/airnow.py",
"max-length": 20,
"interval": 600
},
"custom/weather": {
"exec": "$HOME/workspace/foxstatus/modules/weather.py",
"max-length": 20,
"interval": 600
},
"custom/task": {
"exec": "$HOME/workspace/foxstatus/modules/taskwarrior.py",
"max-length": 20,
"interval": 300
},
"custom/nagios": {
"exec": "$HOME/workspace/foxstatus/modules/nagios.py",
"max-length": 20,
"interval": 600
},
"custom/timer": {
"exec": "$HOME/workspace/foxstatus/modules/timer.py",
"max-length": 20,
"interval": 60
},
"custom/maildir": {
"exec": "$HOME/workspace/foxstatus/modules/maildir.py",
"max-length": 7,
"interval": 60
},
"custom/oven": {
"exec": "$HOME/workspace/foxstatus/modules/oven.py",
"max-length": 6,
"interval": 300
}
}