From 9657904936a9d63e39a6e2e7fab14c3d0ad2176a Mon Sep 17 00:00:00 2001 From: Tsuzura Date: Thu, 30 Jul 2026 21:57:02 -0400 Subject: [PATCH] feat(quickshell): add minimal bar rendering on both monitors - Variants + PanelWindow, one per Quickshell.screens entry - ShellScreen-typed modelData, pragma ComponentBehavior: Bound required to reference id across delegate boundary - screen: modelData is required for placement; modelData alone only supplies per-instance data, not physical binding --- quickshell/.config/quickshell/shell.qml | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 quickshell/.config/quickshell/shell.qml diff --git a/quickshell/.config/quickshell/shell.qml b/quickshell/.config/quickshell/shell.qml new file mode 100644 index 0000000..5bf742a --- /dev/null +++ b/quickshell/.config/quickshell/shell.qml @@ -0,0 +1,28 @@ +pragma ComponentBehavior: Bound + +import QtQuick +import Quickshell + +ShellRoot { + Variants { + model: Quickshell.screens + PanelWindow { + id : panel + required property ShellScreen modelData + property string monitorName: modelData.name + screen: modelData + anchors { + right : true + top : true + left : true + } + implicitHeight: 32 + color : "#2b1618" + Text { + anchors.centerIn: parent + text : "Hello from " + panel.monitorName + color : '#f2e4d8' + } + } + } +} \ No newline at end of file