aboutsummaryrefslogtreecommitdiff
path: root/quickshell/items/Photons.qml
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/items/Photons.qml')
-rw-r--r--quickshell/items/Photons.qml32
1 files changed, 32 insertions, 0 deletions
diff --git a/quickshell/items/Photons.qml b/quickshell/items/Photons.qml
new file mode 100644
index 0000000..0ba94ee
--- /dev/null
+++ b/quickshell/items/Photons.qml
@@ -0,0 +1,32 @@
+import QtQuick
+import QtQuick.Layouts
+
+RowLayout {
+ spacing: 0
+ Text {
+ text: " Photons:"
+ color: shellRoot.white
+ font {
+ family: shellRoot.fontFamily
+ pixelSize: shellRoot.fontSize
+ }
+ }
+ Text {
+ text: brightness
+ color: shellRoot.orange
+ font {
+ family: shellRoot.fontFamily
+ pixelSize: shellRoot.fontSize
+ bold: true
+ }
+ }
+ Text {
+ text: "(" + temperature + "K)"
+ color: shellRoot.red
+ font {
+ family: shellRoot.fontFamily
+ pixelSize: shellRoot.fontSize
+ bold: true
+ }
+ }
+}