Hide the secondary codex window if it's not supplied

This commit is contained in:
2026-07-12 15:12:40 -05:00
parent aeeb4042eb
commit ddb3530948
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -167,7 +167,7 @@
"interval": 15,
"return-type": "json",
"exec": "$HOME/.config/waybar/scripts/openai-rate.py --window secondary",
"exec-if": "test -r ~/.codex/auth.json",
"exec-if": "test -r ~/.codex/auth.json && $HOME/.config/waybar/scripts/openai-rate.py --window secondary --check",
"escape": false,
"format": " {}"
},