feat: rename Game Bar to Quickpanel and support DMS 2.0
This commit is contained in:
27 files changed
+158
-145
No files matched your search
@@ -3,7 +3,7 @@ import Quickshell
|
||||
import qs.Common
|
||||
import qs.Modals.Common
|
||||
|
||||
DankModal {
|
||||
DModal {
|
||||
id: overlay
|
||||
|
||||
property var daemon: null
|
||||
@@ -19,8 +19,8 @@ DankModal {
|
||||
overlay.close();
|
||||
}
|
||||
|
||||
layerNamespace: "dms:plugins:gameBar"
|
||||
// Overlay layer puts the widgets above fullscreen windows, like the Xbox Game Bar.
|
||||
layerNamespace: "dms:plugins:quickpanel"
|
||||
// Overlay layer puts the controls above fullscreen windows.
|
||||
useOverlayLayer: true
|
||||
positioning: "center"
|
||||
shouldBeVisible: false
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import Quickshell
|
||||
import Quickshell.Services.Pipewire
|
||||
import qs.Common
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
import qs.DCommon.Widgets
|
||||
import "../widgets"
|
||||
|
||||
FocusScope {
|
||||
|
||||
+5
-5
@@ -1,7 +1,7 @@
|
||||
import QtQuick
|
||||
import Quickshell
|
||||
import qs.Common
|
||||
import qs.Widgets
|
||||
import qs.DCommon.Widgets
|
||||
import "../components"
|
||||
|
||||
Rectangle {
|
||||
@@ -44,9 +44,9 @@ Rectangle {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: Theme.spacingS
|
||||
|
||||
DankIcon {
|
||||
DIcon {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
name: "sports_esports"
|
||||
name: "tune"
|
||||
size: Theme.iconSize
|
||||
color: Theme.primary
|
||||
}
|
||||
@@ -107,7 +107,7 @@ Rectangle {
|
||||
anchors.centerIn: parent
|
||||
spacing: Theme.spacingXS
|
||||
|
||||
DankIcon {
|
||||
DIcon {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
name: toggleButton.modelData.icon
|
||||
size: Theme.iconSize - 6
|
||||
@@ -141,7 +141,7 @@ Rectangle {
|
||||
|
||||
BarSeparator {}
|
||||
|
||||
DankActionButton {
|
||||
DActionButton {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
iconName: "close"
|
||||
buttonSize: 34
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import QtQuick
|
||||
import qs.Common
|
||||
import qs.Widgets
|
||||
import qs.DCommon.Widgets
|
||||
|
||||
Item {
|
||||
id: win
|
||||
@@ -117,7 +117,7 @@ Item {
|
||||
color: parent.color
|
||||
}
|
||||
|
||||
DankIcon {
|
||||
DIcon {
|
||||
id: titleIcon
|
||||
|
||||
anchors.left: parent.left
|
||||
@@ -141,7 +141,7 @@ Item {
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
DankActionButton {
|
||||
DActionButton {
|
||||
id: closeButton
|
||||
|
||||
anchors.right: parent.right
|
||||
|
||||
Reference in new issue
Block a user