diff options
Diffstat (limited to 'quickshell/items')
| -rw-r--r-- | quickshell/items/Electrons.qml | 4 | ||||
| -rw-r--r-- | quickshell/items/Radio.qml | 9 |
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 } } |
