feat: plasmoide KDE Plasma 6 per il credito residuo DeepSeek e OpenRouter

This commit is contained in:
Matteo Benedetto
2026-08-21 19:13:39 +02:00
commit 7614b74acf
9 changed files with 689 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
<?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 crediti. Minimo 30s. Default 300s (5 minuti).</whatsthis>
</entry>
<entry name="warnThreshold" type="Int">
<default>30</default>
<min>0</min>
<max>100</max>
<label>Soglia gialla per il residuo (%)</label>
<whatsthis>Sotto questa percentuale di residuo la barra diventa gialla. Si applica alla barra di OpenRouter e (se dsBudget&gt;0) a DeepSeek.</whatsthis>
</entry>
<entry name="critThreshold" type="Int">
<default>15</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="dsBudget" type="Double">
<default>10.0</default>
<min>0</min>
<max>100000</max>
<label>Budget di riferimento DeepSeek ($)</label>
<whatsthis>Il budget iniziale DeepSeek usato per calcolare la percentuale residua e la barra. Imposta a quanto hai caricato inizialmente. 0 = nasconde la barra (mostra solo il valore).</whatsthis>
</entry>
<entry name="showDeepSeek" type="Bool">
<default>true</default>
<label>Mostra DeepSeek</label>
</entry>
<entry name="showOpenRouter" type="Bool">
<default>true</default>
<label>Mostra OpenRouter</label>
</entry>
</group>
</kcfg>