From 849e4d0aa2c79eb85afc422f8862198f1827d671 Mon Sep 17 00:00:00 2001 From: lucy Date: Sun, 18 Jan 2026 15:54:25 +0100 Subject: [PATCH] do shit --- modules/bar/Bar.qml | 11 +++++------ modules/overlays/Wallpaper.qml | 7 +++++-- shell.qml | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 9ee1c80..bd6f0e8 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -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 diff --git a/modules/overlays/Wallpaper.qml b/modules/overlays/Wallpaper.qml index 7ed2f0c..3e27ceb 100644 --- a/modules/overlays/Wallpaper.qml +++ b/modules/overlays/Wallpaper.qml @@ -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 } } } diff --git a/shell.qml b/shell.qml index 5ea7a1f..56d540d 100644 --- a/shell.qml +++ b/shell.qml @@ -9,8 +9,8 @@ import "./modules/notifications/" ShellRoot { id: root - Bar {} - Wallpaper {} Ipc {} + Bar {} Notification {} + Wallpaper {} }