aboutsummaryrefslogtreecommitdiff
path: root/quickshell/items/Electrons.qml
diff options
context:
space:
mode:
Diffstat (limited to 'quickshell/items/Electrons.qml')
-rw-r--r--quickshell/items/Electrons.qml27
1 files changed, 0 insertions, 27 deletions
diff --git a/quickshell/items/Electrons.qml b/quickshell/items/Electrons.qml
deleted file mode 100644
index f75c126..0000000
--- a/quickshell/items/Electrons.qml
+++ /dev/null
@@ -1,27 +0,0 @@
-import QtQuick
-import QtQuick.Layouts
-
-RowLayout {
- spacing: 0
- Text {
- text: " Electrons:"
- color: shellRoot.white
- font {
- family: shellRoot.fontFamily
- pixelSize: shellRoot.fontSize
- }
- }
- Text {
- text: (batteryCharging ? ("AC/DC(" + battery + ")") : battery)
- color: (battery <= redBatteryPoint) ? shellRoot.red : ((battery <= orangeBatteryPoint) ? shellRoot.orange : shellRoot.green)
- font {
- family: shellRoot.fontFamily
- pixelSize: shellRoot.fontSize
- bold: true
- }
- }
- MouseArea {
- anchors.fill: parent
- onClicked: shellRoot.batteryInfo = !shellRoot.batteryModeConfig
- }
-}