Skip to content

Commit c5b8a11

Browse files
committed
simple but functional bluetooth
1 parent 32921bb commit c5b8a11

3 files changed

Lines changed: 243 additions & 155 deletions

File tree

dot_files/quickshell/modules/bar/StatusBar.qml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,11 @@ PanelWindow {
235235
? "Bluetooth: " + Services.BluetoothStatus.connectedDeviceName
236236
: "Bluetooth: On")
237237
: "Bluetooth: Off"
238-
textColor: Services.BluetoothStatus.powered
239-
? Common.Appearance.m3colors.onSurface
240-
: Common.Appearance.m3colors.onSurfaceVariant
238+
textColor: Services.BluetoothStatus.connected
239+
? Common.Appearance.m3colors.primary
240+
: (Services.BluetoothStatus.powered
241+
? Common.Appearance.m3colors.onSurface
242+
: Common.Appearance.m3colors.onSurfaceVariant)
241243
onClicked: Root.GlobalStates.toggleSidebarRight(root.targetScreen, "bluetooth")
242244
}
243245

0 commit comments

Comments
 (0)