add cpu perc/temp

This commit is contained in:
Benjamin Palko 2025-07-24 11:03:06 -04:00
parent 743374628a
commit f342c17444
4 changed files with 81 additions and 0 deletions

View file

@ -13,6 +13,7 @@ Singleton {
property Clock clock: Clock {}
property Pipewire pipewire: Pipewire {}
property Storage storage: Storage {}
property Cpu cpu: Cpu {}
property Caffeine caffeine: Caffeine {}
property Workspace workspace: Workspace {}
property Tray tray: Tray {}
@ -67,6 +68,16 @@ Singleton {
property int verticalPadding: 6
}
component Cpu: QtObject {
id: clock
property int iconSize: 14
property int fontSize: 14
property int height: 30
property int horizontalPadding: 8
property int verticalPadding: 6
}
component Caffeine: QtObject {
id: clock