Compare commits

...

4 Commits

2 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import qs.common.widgets
Scope { Scope {
Variants { Variants {
model: Quickshell.screens model: Config.options.bar.screenList.length > 0 ? Quickshell.screens.filter(s => Config.options.bar.screenList.includes(s.name)) : Quickshell.screens
PanelWindow { PanelWindow {
required property var modelData required property var modelData
screen: modelData screen: modelData
+12 -3
View File
@@ -189,12 +189,20 @@ Item {
text: playerController.player?.trackArtist text: playerController.player?.trackArtist
} }
Rectangle { Rectangle {
id: scrubber id: scrubberOutline
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 8 Layout.preferredHeight: 12
Layout.rightMargin: 8 Layout.rightMargin: 8
color: blendedColors.colLayer1 color: blendedColors.colSecondaryContainer
visible: playerController.player?.length > 0 visible: playerController.player?.length > 0
radius: parent.height / 2
Rectangle {
id: scrubber
anchors.fill: parent
anchors.margins: 2
color: blendedColors.colLayer1
radius: parent.height / 2
Rectangle { Rectangle {
anchors.top: parent.top anchors.top: parent.top
@@ -216,6 +224,7 @@ Item {
} }
} }
} }
}
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 32 Layout.preferredHeight: 32