revert shell Variants stuff
This commit is contained in:
parent
30485876b5
commit
2307cac558
2 changed files with 10 additions and 12 deletions
|
|
@ -14,8 +14,7 @@ PanelWindow {
|
||||||
screen: modelData
|
screen: modelData
|
||||||
implicitHeight: Style.barHeight * scaling
|
implicitHeight: Style.barHeight * scaling
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
visible: Settings.settings.barMonitors.includes(modelData.name)
|
visible: true //Settings.settings.barMonitors.includes(modelData.name) || (Settings.settings.barMonitors.length === 0)
|
||||||
|| (Settings.settings.barMonitors.length === 0)
|
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: true
|
top: true
|
||||||
|
|
|
||||||
19
shell.qml
19
shell.qml
|
|
@ -12,22 +12,21 @@ import qs.Modules.Background
|
||||||
ShellRoot {
|
ShellRoot {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
|
||||||
Variants {
|
Variants {
|
||||||
model: Quickshell.screens
|
model: Quickshell.screens
|
||||||
|
|
||||||
delegate: Item {
|
delegate: Bar {
|
||||||
required property ShellScreen modelData
|
modelData: item
|
||||||
|
|
||||||
Bar {
|
|
||||||
modelData: parent.modelData
|
|
||||||
}
|
|
||||||
|
|
||||||
// Background {}
|
|
||||||
|
|
||||||
// Overview {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Background {}
|
||||||
|
|
||||||
|
Overview {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DemoPanel {
|
DemoPanel {
|
||||||
id: demoPanel
|
id: demoPanel
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue