aboutsummaryrefslogtreecommitdiff
path: root/quickshell/items/Photons.qml
blob: 0ba94eed80651f4872fd702a6aa92039dc7f83c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
    }
  }
}