From 75e6c1155ca20f4c31038261f02544a1fef6ca50 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Sun, 19 Oct 2025 04:30:53 +0200 Subject: [PATCH] quickshell: fix --- config/quickshell/Modules/Bar/Bar.qml | 24 +++++++------------ .../Panel/Misc/BluetoothDevicesList.qml | 1 - 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/config/quickshell/Modules/Bar/Bar.qml b/config/quickshell/Modules/Bar/Bar.qml index 874e689..afa666c 100644 --- a/config/quickshell/Modules/Bar/Bar.qml +++ b/config/quickshell/Modules/Bar/Bar.qml @@ -86,14 +86,10 @@ Variants { buttonColor: Colors.distroColor onClicked: { // PanelService.getPanel("controlCenterPanel")?.toggle(this) - PanelService.getPanel("wifiPanel")?.toggle(this) + PanelService.getPanel("controlCenterPanel")?.toggle(this) } onRightClicked: { - if (action.running) { - action.signal(15); - return ; - } - action.exec(["rofi", "-show", "drun"]); + Quickshell.execDetached(["rofi", "-show", "drun"]); } } @@ -103,6 +99,9 @@ Variants { onClicked: { PanelService.getPanel("wifiPanel")?.toggle(this) } + onRightClicked: { + Quickshell.execDetached(["nm-connection-editor"]); + } } SymbolButton { @@ -111,6 +110,9 @@ Variants { onClicked: { PanelService.getPanel("bluetoothPanel")?.toggle(this) } + onRightClicked: { + Quickshell.execDetached(["blueberry"]); + } } @@ -254,22 +256,12 @@ Variants { symbol: Icons.powerMenu buttonColor: Colors.red onClicked: { - if (action.running) { - action.signal(15); - return ; - } Quickshell.execDetached(["wlogout"]); } } } - Process { - id: action - - running: false - } - } } diff --git a/config/quickshell/Modules/Panel/Misc/BluetoothDevicesList.qml b/config/quickshell/Modules/Panel/Misc/BluetoothDevicesList.qml index 963bb63..af6d165 100644 --- a/config/quickshell/Modules/Panel/Misc/BluetoothDevicesList.qml +++ b/config/quickshell/Modules/Panel/Misc/BluetoothDevicesList.qml @@ -152,7 +152,6 @@ ColumnLayout { return Color.mPrimary; } - tooltipText: root.tooltipText text: { if (modelData.pairing) return "Pairing...";