quickshell: steal wifi & bluetooth panel

This commit is contained in:
2025-10-19 04:08:22 +02:00
parent ffa502e0c3
commit acf6f69268
27 changed files with 2355 additions and 124 deletions

View File

@@ -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 {