quickshell: fix
This commit is contained in:
@@ -86,14 +86,10 @@ Variants {
|
|||||||
buttonColor: Colors.distroColor
|
buttonColor: Colors.distroColor
|
||||||
onClicked: {
|
onClicked: {
|
||||||
// PanelService.getPanel("controlCenterPanel")?.toggle(this)
|
// PanelService.getPanel("controlCenterPanel")?.toggle(this)
|
||||||
PanelService.getPanel("wifiPanel")?.toggle(this)
|
PanelService.getPanel("controlCenterPanel")?.toggle(this)
|
||||||
}
|
}
|
||||||
onRightClicked: {
|
onRightClicked: {
|
||||||
if (action.running) {
|
Quickshell.execDetached(["rofi", "-show", "drun"]);
|
||||||
action.signal(15);
|
|
||||||
return ;
|
|
||||||
}
|
|
||||||
action.exec(["rofi", "-show", "drun"]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -103,6 +99,9 @@ Variants {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
PanelService.getPanel("wifiPanel")?.toggle(this)
|
PanelService.getPanel("wifiPanel")?.toggle(this)
|
||||||
}
|
}
|
||||||
|
onRightClicked: {
|
||||||
|
Quickshell.execDetached(["nm-connection-editor"]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SymbolButton {
|
SymbolButton {
|
||||||
@@ -111,6 +110,9 @@ Variants {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
PanelService.getPanel("bluetoothPanel")?.toggle(this)
|
PanelService.getPanel("bluetoothPanel")?.toggle(this)
|
||||||
}
|
}
|
||||||
|
onRightClicked: {
|
||||||
|
Quickshell.execDetached(["blueberry"]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -254,22 +256,12 @@ Variants {
|
|||||||
symbol: Icons.powerMenu
|
symbol: Icons.powerMenu
|
||||||
buttonColor: Colors.red
|
buttonColor: Colors.red
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (action.running) {
|
|
||||||
action.signal(15);
|
|
||||||
return ;
|
|
||||||
}
|
|
||||||
Quickshell.execDetached(["wlogout"]);
|
Quickshell.execDetached(["wlogout"]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Process {
|
|
||||||
id: action
|
|
||||||
|
|
||||||
running: false
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -152,7 +152,6 @@ ColumnLayout {
|
|||||||
|
|
||||||
return Color.mPrimary;
|
return Color.mPrimary;
|
||||||
}
|
}
|
||||||
tooltipText: root.tooltipText
|
|
||||||
text: {
|
text: {
|
||||||
if (modelData.pairing)
|
if (modelData.pairing)
|
||||||
return "Pairing...";
|
return "Pairing...";
|
||||||
|
|||||||
Reference in New Issue
Block a user