quickshell: steal wifi & bluetooth panel
This commit is contained in:
@@ -85,7 +85,8 @@ Variants {
|
||||
symbol: Icons.distro
|
||||
buttonColor: Colors.distroColor
|
||||
onClicked: {
|
||||
PanelService.getPanel("controlCenterPanel")?.toggle(this)
|
||||
// PanelService.getPanel("controlCenterPanel")?.toggle(this)
|
||||
PanelService.getPanel("wifiPanel")?.toggle(this)
|
||||
}
|
||||
onRightClicked: {
|
||||
if (action.running) {
|
||||
@@ -96,6 +97,27 @@ Variants {
|
||||
}
|
||||
}
|
||||
|
||||
SymbolButton {
|
||||
symbol: SettingsService.wifiEnabled ? Icons.wifiOn : Icons.wifiOff
|
||||
buttonColor: Colors.green
|
||||
onClicked: {
|
||||
PanelService.getPanel("wifiPanel")?.toggle(this)
|
||||
}
|
||||
}
|
||||
|
||||
SymbolButton {
|
||||
symbol: BluetoothService.enabled ? Icons.bluetoothOn : Icons.bluetoothOff
|
||||
buttonColor: Colors.peach
|
||||
onClicked: {
|
||||
PanelService.getPanel("bluetoothPanel")?.toggle(this)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Item {
|
||||
width: 5
|
||||
}
|
||||
|
||||
Separator {
|
||||
}
|
||||
|
||||
@@ -176,7 +198,6 @@ Variants {
|
||||
}
|
||||
|
||||
Ip {
|
||||
showCountryCode: true
|
||||
}
|
||||
|
||||
CpuTemp {
|
||||
|
||||
Reference in New Issue
Block a user