do shit
This commit is contained in:
parent
4ad47093e6
commit
849e4d0aa2
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user