feat: rename Game Bar to Quickpanel and support DMS 2.0

This commit is contained in:
Keule2 committed 2026-10-31 22:24:19 +01:00
1 parent 018e326918
commit f0ea2baba3
27 files changed
+158 -145

No files matched your search

+8 -8
View File
@@ -3,7 +3,7 @@ import Quickshell
import Quickshell.Bluetooth
import qs.Common
import qs.Services
import qs.Widgets
import qs.DCommon.Widgets
Item {
id: widget
@@ -28,7 +28,7 @@ Item {
height: 34
spacing: Theme.spacingS
DankIcon {
DIcon {
anchors.verticalCenter: parent.verticalCenter
name: widget.adapterEnabled ? "bluetooth" : "bluetooth_disabled"
size: Theme.iconSize - 6
@@ -44,7 +44,7 @@ Item {
elide: Text.ElideRight
}
DankActionButton {
DActionButton {
id: scanButton
anchors.verticalCenter: parent.verticalCenter
@@ -59,7 +59,7 @@ Item {
}
}
DankToggle {
DToggle {
id: toggle
anchors.verticalCenter: parent.verticalCenter
@@ -73,7 +73,7 @@ Item {
}
}
DankListView {
DListView {
id: deviceList
anchors.top: header.bottom
@@ -101,7 +101,7 @@ Item {
border.color: isConnected ? Theme.primary : Theme.outlineLight
border.width: isConnected ? 1 : Theme.layerOutlineWidth
DankIcon {
DIcon {
id: deviceIcon
anchors.left: parent.left
@@ -142,7 +142,7 @@ Item {
}
}
DankSpinner {
DSpinner {
id: busyIndicator
anchors.right: parent.right
@@ -175,7 +175,7 @@ Item {
spacing: Theme.spacingS
visible: !deviceList.visible
DankIcon {
DIcon {
anchors.horizontalCenter: parent.horizontalCenter
name: "bluetooth_disabled"
size: Theme.iconSizeLarge