add full proj

This commit is contained in:
2026-05-31 09:28:44 +02:00
commit f8a4536a02
26 changed files with 1307 additions and 0 deletions

17
widgets/Battery.qml Normal file
View File

@@ -0,0 +1,17 @@
import "../config"
import "../services"
MetricPill {
readonly property bool charging: SysStats.batteryStatus === "Charging"
|| SysStats.batteryStatus === "Full"
visible: SysStats.hasBattery
icon: charging ? Icons.bolt : Icons.battery(SysStats.battery)
iconColor: charging ? Theme.green
: SysStats.battery <= 15 ? Theme.red
: SysStats.battery <= 30 ? Theme.peach
: Theme.green
value: SysStats.battery + "%"
reserve: "100%"
}