Widget desktop 224x224 che mostra: - residuo settimanale con barra e percentuale - countdown esatto al reset (reset_at dall'API) - piano (Plus/Free), crediti, stato limiti - backend bash che chiama https://chatgpt.com/backend-api/wham/usage - legge il token OAuth da ~/.pi/agent/auth.json (provider openai-codex)
28 lines
1020 B
XML
28 lines
1020 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
|
|
<kcfgfile name=""/>
|
|
<group name="General">
|
|
<entry name="refreshIntervalSec" type="Int">
|
|
<default>300</default>
|
|
<min>30</min>
|
|
<max>3600</max>
|
|
<label>Intervallo di aggiornamento (secondi)</label>
|
|
<whatsthis>Quanto spesso il plasmoide aggiorna i dati Codex. Minimo 30s. Default 300s (5 minuti).</whatsthis>
|
|
</entry>
|
|
<entry name="warnThreshold" type="Int">
|
|
<default>60</default>
|
|
<min>0</min>
|
|
<max>100</max>
|
|
<label>Soglia gialla per il residuo (%)</label>
|
|
</entry>
|
|
<entry name="critThreshold" type="Int">
|
|
<default>30</default>
|
|
<min>0</min>
|
|
<max>100</max>
|
|
<label>Soglia rossa per il residuo (%)</label>
|
|
</entry>
|
|
</group>
|
|
</kcfg> |