quickshell!
This commit is contained in:
parent
6697dbb64b
commit
dc8e6873c3
17 changed files with 251 additions and 47 deletions
35
modules/styling/quickshell/bar/shell.qml
Normal file
35
modules/styling/quickshell/bar/shell.qml
Normal file
|
@ -0,0 +1,35 @@
|
|||
import Quickshell // for ShellRoot and PanelWindow
|
||||
import QtQuick // for text
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls
|
||||
import "workspaces" as Workspaces
|
||||
|
||||
ShellRoot {
|
||||
PanelWindow {
|
||||
anchors {
|
||||
top: true
|
||||
left : true
|
||||
right:true
|
||||
}
|
||||
height: 30
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
spacing: 0
|
||||
Loader {
|
||||
active: isSoleBar
|
||||
Layout.preferredHeight: active ? implicitHeight: 0;
|
||||
Layout.fillWidth: true
|
||||
sourceComponent: Workspaces.Widget {
|
||||
bar: root
|
||||
wsBaseIndex: 1
|
||||
}
|
||||
}
|
||||
Workspaces.Widget {
|
||||
bar: root
|
||||
Layout.fillWidth: true
|
||||
wsBaseIndex: 1;
|
||||
hideWhenEmpty: isSoleBar
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue