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.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/quickshell/items/Electrons.qml b/quickshell/items/Electrons.qml
index 769eda8..b507509 100644
--- a/quickshell/items/Electrons.qml
+++ b/quickshell/items/Electrons.qml
@@ -20,4 +20,8 @@ RowLayout {
bold: true
}
}
+ MouseArea {
+ anchors.fill: parent
+ onClicked: shellRoot.batteryModeConfig = !shellRoot.batteryModeConfig
+ }
}