This commit is contained in:
lucy 2026-01-18 15:54:25 +01:00
parent 4ad47093e6
commit 849e4d0aa2
3 changed files with 12 additions and 10 deletions

View File

@ -2,26 +2,25 @@ import Quickshell
import QtQuick
import "../../settings/"
import "../../"
import QtQuick.Layouts
Variants {
model: Quickshell.screens
delegate: PanelWindow {
id: root
implicitHeight: Settings.config.barHeight
aboveWindows: true
required property var modelData
color: Qt.rgba(Colors.background.r, Colors.background.g, Colors.background.b, 0.6)
screen: modelData
color: Colors.background
anchors {
top: true
left: true
right: true
}
implicitHeight: Settings.config.barHeight
Row {
leftPadding: 10
id: leftStuff
leftPadding: 10
spacing: 20
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
@ -38,8 +37,8 @@ Variants {
}
Row {
rightPadding: 10
id: rightStuff
rightPadding: 10
spacing: 10
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter

View File

@ -1,3 +1,4 @@
pragma ComponentBehavior: Bound
import Quickshell
import QtQuick
import Quickshell.Wayland
@ -8,6 +9,8 @@ Variants {
model: Quickshell.screens
delegate: WlrLayershell {
id: wpShell
aboveWindows: false
exclusionMode: ExclusionMode.Ignore
required property var modelData
screen: modelData
@ -18,11 +21,11 @@ Variants {
right: true
}
layer: WlrLayer.Background
Image {
anchors.fill: parent
fillMode: Image.Stretch
source: Settings.config.currentWall
width: wpShell.modelData.width
height: wpShell.modelData.height
}
}
}

View File

@ -9,8 +9,8 @@ import "./modules/notifications/"
ShellRoot {
id: root
Bar {}
Wallpaper {}
Ipc {}
Bar {}
Notification {}
Wallpaper {}
}