From b65a8474c82760089ca959579cc061055f1192ce Mon Sep 17 00:00:00 2001 From: quadbyte Date: Sat, 9 Aug 2025 11:58:17 -0400 Subject: [PATCH] Bar: an empty bar on all monitors --- Modules/Bar/Bar.qml | 28 ++++++++++++++++++++++++++++ shell.qml | 28 ++++++++++++++++++++++------ 2 files changed, 50 insertions(+), 6 deletions(-) create mode 100644 Modules/Bar/Bar.qml diff --git a/Modules/Bar/Bar.qml b/Modules/Bar/Bar.qml new file mode 100644 index 0000000..83cd3f1 --- /dev/null +++ b/Modules/Bar/Bar.qml @@ -0,0 +1,28 @@ +import QtQuick +import Quickshell + +PanelWindow { + id: root + + property var modelData + + screen: modelData + implicitHeight: 36 + color: "transparent" + + anchors { + top: true + left: true + right: true + } + + Item { + anchors.fill: parent + + Rectangle { + anchors.fill: parent + color: "purple" + layer.enabled: true + } + } +} diff --git a/shell.qml b/shell.qml index da003ef..bf70526 100644 --- a/shell.qml +++ b/shell.qml @@ -1,9 +1,25 @@ -import Quickshell - -ShellRoot { - /* +/* Here we go, this is it. Rebuild time... No spaghetti code, preset sizing, proper project structure only "spawn" UI, do not do anything else here. - */ -} \ No newline at end of file +*/ + +import QtQuick +import Quickshell +import Quickshell.Io +import Quickshell.Widgets +import qs.Modules.Bar + +ShellRoot { + id: root + + Variants { + model: Quickshell.screens + + delegate: Bar { + modelData: item + } + + } + +}