rename bar module files and qmldir types to *Module
This commit is contained in:
parent
6461b9a943
commit
c3d7fa0bc5
24 changed files with 46 additions and 41 deletions
|
|
@ -109,11 +109,11 @@ PanelWindow {
|
|||
spacing: S.Theme.groupSpacing
|
||||
|
||||
M.BarGroup {
|
||||
M.Privacy {}
|
||||
M.Clock {
|
||||
M.PrivacyModule {}
|
||||
M.ClockModule {
|
||||
visible: S.Modules.clock.enable
|
||||
}
|
||||
M.Notifications {
|
||||
M.NotificationsModule {
|
||||
bar: bar
|
||||
visible: S.Modules.notifications.enable
|
||||
}
|
||||
|
|
@ -130,14 +130,14 @@ PanelWindow {
|
|||
M.BarGroup {
|
||||
id: workspacesGroup
|
||||
leftEdge: true
|
||||
M.Workspaces {
|
||||
M.WorkspacesModule {
|
||||
bar: bar
|
||||
visible: S.Modules.workspaces.enable
|
||||
}
|
||||
}
|
||||
M.BarGroup {
|
||||
leftEdge: !workspacesGroup.visible
|
||||
M.Tray {
|
||||
M.TrayModule {
|
||||
bar: bar
|
||||
}
|
||||
}
|
||||
|
|
@ -146,7 +146,7 @@ PanelWindow {
|
|||
Layout.minimumWidth: 0
|
||||
clip: true
|
||||
visible: S.Modules.windowTitle.enable && M.NiriIpc.focusedTitle !== ""
|
||||
M.WindowTitle {
|
||||
M.WindowTitleModule {
|
||||
id: _windowTitle
|
||||
readonly property real _maxWidth: Math.max(0, centerSection.x - _windowTitleGroup.x - 2 * S.Theme.groupPadding - S.Theme.groupSpacing)
|
||||
width: Math.min(naturalWidth, _maxWidth)
|
||||
|
|
@ -170,52 +170,52 @@ PanelWindow {
|
|||
|
||||
// Media
|
||||
M.BarGroup {
|
||||
M.Mpris {
|
||||
M.MprisModule {
|
||||
bar: bar
|
||||
}
|
||||
M.Volume {
|
||||
M.VolumeModule {
|
||||
visible: S.Modules.volume.enable
|
||||
}
|
||||
}
|
||||
|
||||
// Connectivity
|
||||
M.BarGroup {
|
||||
M.Network {
|
||||
M.NetworkModule {
|
||||
bar: bar
|
||||
visible: S.Modules.network.enable
|
||||
}
|
||||
M.Bluetooth {
|
||||
M.BluetoothModule {
|
||||
bar: bar
|
||||
}
|
||||
}
|
||||
|
||||
// Controls
|
||||
M.BarGroup {
|
||||
M.Backlight {}
|
||||
M.PowerProfile {
|
||||
M.BacklightModule {}
|
||||
M.PowerProfileModule {
|
||||
visible: S.Modules.powerProfile.enable
|
||||
}
|
||||
M.IdleInhibitor {
|
||||
M.IdleInhibitorModule {
|
||||
visible: S.Modules.idleInhibitor.enable
|
||||
}
|
||||
}
|
||||
|
||||
// Stats
|
||||
M.BarGroup {
|
||||
M.Cpu {
|
||||
M.CpuModule {
|
||||
visible: S.Modules.cpu.enable
|
||||
}
|
||||
M.Memory {
|
||||
M.MemoryModule {
|
||||
visible: S.Modules.memory.enable
|
||||
}
|
||||
M.Gpu {}
|
||||
M.Temperature {
|
||||
M.GpuModule {}
|
||||
M.TemperatureModule {
|
||||
visible: S.Modules.temperature.enable
|
||||
}
|
||||
M.Weather {
|
||||
M.WeatherModule {
|
||||
visible: S.Modules.weather.enable
|
||||
}
|
||||
M.Disk {
|
||||
M.DiskModule {
|
||||
visible: S.Modules.disk.enable
|
||||
}
|
||||
}
|
||||
|
|
@ -223,8 +223,8 @@ PanelWindow {
|
|||
// Power
|
||||
M.BarGroup {
|
||||
rightEdge: true
|
||||
M.Battery {}
|
||||
M.Power {
|
||||
M.BatteryModule {}
|
||||
M.PowerModule {
|
||||
bar: bar
|
||||
visible: S.Modules.power.enable
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue