Bar: an empty bar on all monitors

This commit is contained in:
quadbyte 2025-08-09 11:58:17 -04:00
parent 48a32b01fd
commit b65a8474c8
2 changed files with 50 additions and 6 deletions

28
Modules/Bar/Bar.qml Normal file
View file

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

View file

@ -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.
*/
}
*/
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
}
}
}