quickshell: fix
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -152,7 +152,6 @@ ColumnLayout {
|
||||
|
||||
return Color.mPrimary;
|
||||
}
|
||||
tooltipText: root.tooltipText
|
||||
text: {
|
||||
if (modelData.pairing)
|
||||
return "Pairing...";
|
||||
|
||||
Reference in New Issue
Block a user