different grouping

This commit is contained in:
Damocles 2026-04-12 16:05:08 +02:00
parent 42ec379a87
commit 472ecf6783

View file

@ -39,11 +39,9 @@ PanelWindow {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
spacing: M.Theme.barSpacing spacing: M.Theme.barSpacing
M.Clock { M.BarGroup {
visible: M.Modules.clock M.Clock { visible: M.Modules.clock }
} M.Notifications { visible: M.Modules.notifications }
M.Notifications {
visible: M.Modules.notifications
} }
} }
@ -54,21 +52,19 @@ PanelWindow {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
spacing: M.Theme.barSpacing spacing: M.Theme.barSpacing
M.Workspaces { M.BarGroup {
bar: bar M.Workspaces { bar: bar; visible: M.Modules.workspaces }
visible: M.Modules.workspaces
} }
M.Tray { M.BarGroup {
bar: bar M.Tray { bar: bar; visible: M.Modules.tray }
visible: M.Modules.tray
} }
M.BarGroup {
M.WindowTitle { M.WindowTitle {
Layout.maximumWidth: 400 Layout.maximumWidth: 400
visible: M.Modules.windowTitle visible: M.Modules.windowTitle
} }
Item {
Layout.fillWidth: true
} }
Item { Layout.fillWidth: true }
} }
// ---- right ---- // ---- right ----
@ -78,65 +74,40 @@ PanelWindow {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
spacing: M.Theme.barSpacing spacing: M.Theme.barSpacing
Item { Item { Layout.fillWidth: true }
Layout.fillWidth: true
}
// Media // Media
M.BarGroup { M.BarGroup {
M.Mpris {} M.Mpris {}
M.Volume { M.Volume { visible: M.Modules.volume }
visible: M.Modules.volume
}
} }
// Connectivity // Connectivity
M.BarGroup { M.BarGroup {
M.Network { M.Network { visible: M.Modules.network }
visible: M.Modules.network
}
M.Bluetooth {} M.Bluetooth {}
} }
// Controls // Controls
M.BarGroup { M.BarGroup {
M.Backlight {} M.Backlight {}
M.PowerProfile { M.PowerProfile { visible: M.Modules.powerProfile }
visible: M.Modules.powerProfile M.IdleInhibitor { visible: M.Modules.idleInhibitor }
}
M.IdleInhibitor {
visible: M.Modules.idleInhibitor
}
} }
// System // Stats
M.BarGroup { M.BarGroup {
M.Cpu { M.Cpu { visible: M.Modules.cpu }
visible: M.Modules.cpu M.Memory { visible: M.Modules.memory }
} M.Temperature { visible: M.Modules.temperature }
M.Memory { M.Weather { visible: M.Modules.weather }
visible: M.Modules.memory M.Disk { visible: M.Modules.disk }
}
M.Temperature {
visible: M.Modules.temperature
}
}
// Status
M.BarGroup {
M.Weather {
visible: M.Modules.weather
}
M.Disk {
visible: M.Modules.disk
}
M.Battery {}
} }
// Power // Power
M.Power { M.BarGroup {
bar: bar M.Battery {}
visible: M.Modules.power M.Power { bar: bar; visible: M.Modules.power }
} }
} }
} }