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 + } + + } + +}