some shell tweaks, hush

This commit is contained in:
atagen 2025-09-19 11:02:43 +10:00
parent 6b2b079a18
commit 5203e0b27e
9 changed files with 177 additions and 108 deletions

View file

@ -6,6 +6,7 @@ import "logout" as Logout
import "title"
import "tags"
import "rice"
import Quickshell
import Quickshell.Wayland
import QtQuick
@ -16,29 +17,37 @@ ShellRoot {
// bg
Variants {
model: Quickshell.screens
delegate: PanelWindow {
id: bg
anchors {
top: true
bottom: true
left: true
right: true
}
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
Scope {
property var modelData
PanelWindow {
screen: modelData
id: bg
anchors {
top: true
bottom: true
left: true
right: true
}
exclusionMode: ExclusionMode.Ignore
WlrLayershell.layer: WlrLayer.Bottom
Image {
asynchronous: true
width: bg.width
height: bg.height
source: "assets/pathway-m-rework.png"
Image {
id: img
rotation: (bg.width < bg.height) ? 90 : 0
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
asynchronous: false
width: (bg.width < bg.height) ? bg.height : bg.width
height: (bg.width < bg.height) ? bg.width : bg.height
source: "assets/pathway-m-rework.png"
}
}
}
}
// rhs main
Variants {
model: Quickshell.screens
model: Quickshell.screens.filter(screen => screen.name == "DP-2")
delegate: PanelWindow {
id: bink
property var modelData
@ -80,7 +89,7 @@ ShellRoot {
// centre main
Variants {
model: Quickshell.screens
model: Quickshell.screens.filter(screen => screen.name == "DP-2")
delegate: PanelWindow {
id: windowTitle
property var modelData