Polish pass

This commit is contained in:
2026-06-14 23:51:23 -05:00
parent 9005edd58c
commit f04e24b64d
3 changed files with 77 additions and 15 deletions
+12 -6
View File
@@ -61,9 +61,9 @@
"margin-bottom": 16,
"margin-left": 16,
"margin-right": 16,
"modules-left": ["gamemode", "battery", "temperature", "cpu", "memory", "network"],
"modules-left": ["gamemode", "battery", "temperature", "cpu", "memory", "network", "custom/codex-primary", "custom/codex-secondary"],
"modules-center": [],
"modules-right": ["mpris", "pulseaudio", "custom/output-device", "custom/openai-rate", "backlight", "idle_inhibitor", "clock"],
"modules-right": ["mpris", "pulseaudio", "custom/output-device", "backlight", "idle_inhibitor", "clock"],
"clock": {
"format": "{:%a %b %d %I:%M %p}",
"tooltip": false
@@ -155,13 +155,19 @@
"exec": "flatpak remote-ls --updates --app | wc -l",
"exec-if": "test $(flatpak remote-ls --updates --app | wc -l) -gt 0"
},
"custom/openai-rate": {
"custom/codex-primary": {
"interval": 15,
"return-type": "json",
"exec": "$HOME/.config/waybar/scripts/openai-rate.py",
"exec": "$HOME/.config/waybar/scripts/openai-rate.py --window primary",
"exec-if": "test -r ~/.codex/auth.json",
"max-length": 90,
"format": "{}"
"format": "5h {}"
},
"custom/codex-secondary": {
"interval": 15,
"return-type": "json",
"exec": "$HOME/.config/waybar/scripts/openai-rate.py --window secondary",
"exec-if": "test -r ~/.codex/auth.json",
"format": "W {}"
},
"custom/backup": {
"interval": 60,