mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-05 03:30:03 +00:00
Bar: an empty bar on all monitors
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user