First pass at an OpenAI limit script
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
"margin-right": 16,
|
||||
"modules-left": ["gamemode", "battery", "temperature", "cpu", "memory", "network"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["mpris", "pulseaudio", "custom/output-device", "backlight", "idle_inhibitor", "clock"],
|
||||
"modules-right": ["mpris", "pulseaudio", "custom/output-device", "custom/openai-rate", "backlight", "idle_inhibitor", "clock"],
|
||||
"clock": {
|
||||
"format": "{:%a %b %d %I:%M %p}",
|
||||
"tooltip": false
|
||||
@@ -155,6 +155,14 @@
|
||||
"exec": "flatpak remote-ls --updates --app | wc -l",
|
||||
"exec-if": "test $(flatpak remote-ls --updates --app | wc -l) -gt 0"
|
||||
},
|
||||
"custom/openai-rate": {
|
||||
"interval": 15,
|
||||
"return-type": "json",
|
||||
"exec": "$HOME/.config/waybar/scripts/openai-rate.py",
|
||||
"exec-if": "test -r ~/.codex/auth.json",
|
||||
"max-length": 90,
|
||||
"format": "{}"
|
||||
},
|
||||
"custom/backup": {
|
||||
"interval": 60,
|
||||
"format": "",
|
||||
|
||||
Reference in New Issue
Block a user