From d8209b7f2b293fbcfcaef00a568e032c93fbe5ea Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 27 Dec 2025 11:24:35 +0530 Subject: powerprofilesctl control from quickshell + my eyes are cooked, so blink reminders --- quickshell/items/Electrons.qml | 4 ++++ quickshell/items/Radio.qml | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'quickshell/items') 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 } } -- cgit v1.2.3