diff options
Diffstat (limited to 'bar/Temp.qml')
| -rw-r--r-- | bar/Temp.qml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bar/Temp.qml b/bar/Temp.qml new file mode 100644 index 0000000..c2c5f1d --- /dev/null +++ b/bar/Temp.qml @@ -0,0 +1,27 @@ +import QtQuick +import QtQuick.Layouts + +import qs.services as Services +import qs.utils +import qs.config as Config + +Item { + id: root + RowLayout { + Item { + Layout.fillWidth: true + } + anchors.fill: parent + spacing: Config.Bar.resourceIconTextSpacing + + Icons { + text: Config.Icons.resource.temp + } + Text { + text: Math.round(Services.Resource.cpuTemp * 100) + } + Item { + Layout.fillWidth: true + } + } +} |
