different grouping
This commit is contained in:
parent
42ec379a87
commit
472ecf6783
1 changed files with 27 additions and 56 deletions
|
|
@ -39,11 +39,9 @@ PanelWindow {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: M.Theme.barSpacing
|
||||
|
||||
M.Clock {
|
||||
visible: M.Modules.clock
|
||||
}
|
||||
M.Notifications {
|
||||
visible: M.Modules.notifications
|
||||
M.BarGroup {
|
||||
M.Clock { visible: M.Modules.clock }
|
||||
M.Notifications { visible: M.Modules.notifications }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -54,21 +52,19 @@ PanelWindow {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: M.Theme.barSpacing
|
||||
|
||||
M.Workspaces {
|
||||
bar: bar
|
||||
visible: M.Modules.workspaces
|
||||
M.BarGroup {
|
||||
M.Workspaces { bar: bar; visible: M.Modules.workspaces }
|
||||
}
|
||||
M.Tray {
|
||||
bar: bar
|
||||
visible: M.Modules.tray
|
||||
M.BarGroup {
|
||||
M.Tray { bar: bar; visible: M.Modules.tray }
|
||||
}
|
||||
M.BarGroup {
|
||||
M.WindowTitle {
|
||||
Layout.maximumWidth: 400
|
||||
visible: M.Modules.windowTitle
|
||||
}
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Item { Layout.fillWidth: true }
|
||||
}
|
||||
|
||||
// ---- right ----
|
||||
|
|
@ -78,65 +74,40 @@ PanelWindow {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: M.Theme.barSpacing
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
Item { Layout.fillWidth: true }
|
||||
|
||||
// Media
|
||||
M.BarGroup {
|
||||
M.Mpris {}
|
||||
M.Volume {
|
||||
visible: M.Modules.volume
|
||||
}
|
||||
M.Volume { visible: M.Modules.volume }
|
||||
}
|
||||
|
||||
// Connectivity
|
||||
M.BarGroup {
|
||||
M.Network {
|
||||
visible: M.Modules.network
|
||||
}
|
||||
M.Network { visible: M.Modules.network }
|
||||
M.Bluetooth {}
|
||||
}
|
||||
|
||||
// Controls
|
||||
M.BarGroup {
|
||||
M.Backlight {}
|
||||
M.PowerProfile {
|
||||
visible: M.Modules.powerProfile
|
||||
}
|
||||
M.IdleInhibitor {
|
||||
visible: M.Modules.idleInhibitor
|
||||
}
|
||||
M.PowerProfile { visible: M.Modules.powerProfile }
|
||||
M.IdleInhibitor { visible: M.Modules.idleInhibitor }
|
||||
}
|
||||
|
||||
// System
|
||||
// Stats
|
||||
M.BarGroup {
|
||||
M.Cpu {
|
||||
visible: M.Modules.cpu
|
||||
}
|
||||
M.Memory {
|
||||
visible: M.Modules.memory
|
||||
}
|
||||
M.Temperature {
|
||||
visible: M.Modules.temperature
|
||||
}
|
||||
}
|
||||
|
||||
// Status
|
||||
M.BarGroup {
|
||||
M.Weather {
|
||||
visible: M.Modules.weather
|
||||
}
|
||||
M.Disk {
|
||||
visible: M.Modules.disk
|
||||
}
|
||||
M.Battery {}
|
||||
M.Cpu { visible: M.Modules.cpu }
|
||||
M.Memory { visible: M.Modules.memory }
|
||||
M.Temperature { visible: M.Modules.temperature }
|
||||
M.Weather { visible: M.Modules.weather }
|
||||
M.Disk { visible: M.Modules.disk }
|
||||
}
|
||||
|
||||
// Power
|
||||
M.Power {
|
||||
bar: bar
|
||||
visible: M.Modules.power
|
||||
M.BarGroup {
|
||||
M.Battery {}
|
||||
M.Power { bar: bar; visible: M.Modules.power }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue