aboutsummaryrefslogtreecommitdiff
path: root/quickshell/items
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-12-27 11:24:35 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-12-27 11:24:35 +0530
commitd8209b7f2b293fbcfcaef00a568e032c93fbe5ea (patch)
treeaac6bd66f65472c4572d648790c2ea5c5d54fd7c /quickshell/items
parenta99b01b32a5c768abac9d8e020f87d8203fe6a09 (diff)
powerprofilesctl control from quickshell + my eyes are cooked, so blink reminders
Diffstat (limited to 'quickshell/items')
-rw-r--r--quickshell/items/Electrons.qml4
-rw-r--r--quickshell/items/Radio.qml9
2 files changed, 8 insertions, 5 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
+ }
}
diff --git a/quickshell/items/Radio.qml b/quickshell/items/Radio.qml
index b3ee8e6..2e33dec 100644
--- a/quickshell/items/Radio.qml
+++ b/quickshell/items/Radio.qml
@@ -19,10 +19,9 @@ RowLayout {
pixelSize: shellRoot.fontSize
bold: true
}
-
- MouseArea {
- anchors.fill: parent
- onClicked: networkManagerProc.running = true
- }
+ }
+ MouseArea {
+ anchors.fill: parent
+ onClicked: networkManagerProc.running = true
}
}