Files
Matteo Benedetto 374a54d46a feat: dashboard KDE Plasma 6 per residui Ollama Cloud con countdown reset
Widget desktop 224x224 che mostra:
- residuo sessione (5h) e settimanale (7d) con barre colorate
- conteggio richieste, costo 4 settimane, modello top
- timer di reset stimati (calibrati al primo reset osservato)
- backend bash che chiama https://ollama.com/api/usage
- legge la chiave API da ~/.pi/agent/auth.json (provider ollama-cloud)
2026-08-20 18:34:38 +02:00

38 lines
1.5 KiB
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 l'utilizzo di Ollama Cloud. Minimo 30s. Default 300s (5 minuti, come l'estensione pi).</whatsthis>
</entry>
<entry name="warnThreshold" type="Int">
<default>40</default>
<min>0</min>
<max>100</max>
<label>Soglia gialla per il residuo (%)</label>
<whatsthis>Sotto questa percentuale di residuo la barra diventa gialla.</whatsthis>
</entry>
<entry name="critThreshold" type="Int">
<default>20</default>
<min>0</min>
<max>100</max>
<label>Soglia rossa per il residuo (%)</label>
<whatsthis>Sotto questa percentuale di residuo la barra diventa rossa.</whatsthis>
</entry>
<entry name="showActivity" type="Bool">
<default>true</default>
<label>Mostra il costo attività (ultime 4 settimane)</label>
</entry>
<entry name="showModels" type="Bool">
<default>true</default>
<label>Mostra il conteggio richieste per modello</label>
</entry>
</group>
</kcfg>