From 6461b9a943392a7872cc9ff633444224e928722d Mon Sep 17 00:00:00 2001 From: Damocles Date: Fri, 17 Apr 2026 22:08:26 +0200 Subject: [PATCH] rename *Content.qml to *Applet.qml --- shell/applets/{CpuContent.qml => CpuApplet.qml} | 0 shell/applets/{DiskContent.qml => DiskApplet.qml} | 0 .../applets/{MemoryContent.qml => MemoryApplet.qml} | 0 shell/applets/{MprisContent.qml => MprisApplet.qml} | 0 ...{TemperatureContent.qml => TemperatureApplet.qml} | 0 .../applets/{VolumeContent.qml => VolumeApplet.qml} | 0 shell/applets/qmldir | 12 ++++++------ shell/lock/LockSurface.qml | 4 ++-- shell/modules/Cpu.qml | 2 +- shell/modules/Disk.qml | 2 +- shell/modules/Memory.qml | 2 +- shell/modules/Mpris.qml | 2 +- shell/modules/Temperature.qml | 2 +- shell/modules/Volume.qml | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) rename shell/applets/{CpuContent.qml => CpuApplet.qml} (100%) rename shell/applets/{DiskContent.qml => DiskApplet.qml} (100%) rename shell/applets/{MemoryContent.qml => MemoryApplet.qml} (100%) rename shell/applets/{MprisContent.qml => MprisApplet.qml} (100%) rename shell/applets/{TemperatureContent.qml => TemperatureApplet.qml} (100%) rename shell/applets/{VolumeContent.qml => VolumeApplet.qml} (100%) diff --git a/shell/applets/CpuContent.qml b/shell/applets/CpuApplet.qml similarity index 100% rename from shell/applets/CpuContent.qml rename to shell/applets/CpuApplet.qml diff --git a/shell/applets/DiskContent.qml b/shell/applets/DiskApplet.qml similarity index 100% rename from shell/applets/DiskContent.qml rename to shell/applets/DiskApplet.qml diff --git a/shell/applets/MemoryContent.qml b/shell/applets/MemoryApplet.qml similarity index 100% rename from shell/applets/MemoryContent.qml rename to shell/applets/MemoryApplet.qml diff --git a/shell/applets/MprisContent.qml b/shell/applets/MprisApplet.qml similarity index 100% rename from shell/applets/MprisContent.qml rename to shell/applets/MprisApplet.qml diff --git a/shell/applets/TemperatureContent.qml b/shell/applets/TemperatureApplet.qml similarity index 100% rename from shell/applets/TemperatureContent.qml rename to shell/applets/TemperatureApplet.qml diff --git a/shell/applets/VolumeContent.qml b/shell/applets/VolumeApplet.qml similarity index 100% rename from shell/applets/VolumeContent.qml rename to shell/applets/VolumeApplet.qml diff --git a/shell/applets/qmldir b/shell/applets/qmldir index 2059628..78bc931 100644 --- a/shell/applets/qmldir +++ b/shell/applets/qmldir @@ -1,8 +1,8 @@ module applets HexWaveBackground 1.0 HexWaveBackground.qml -VolumeContent 1.0 VolumeContent.qml -MprisContent 1.0 MprisContent.qml -CpuContent 1.0 CpuContent.qml -MemoryContent 1.0 MemoryContent.qml -TemperatureContent 1.0 TemperatureContent.qml -DiskContent 1.0 DiskContent.qml +VolumeApplet 1.0 VolumeApplet.qml +MprisApplet 1.0 MprisApplet.qml +CpuApplet 1.0 CpuApplet.qml +MemoryApplet 1.0 MemoryApplet.qml +TemperatureApplet 1.0 TemperatureApplet.qml +DiskApplet 1.0 DiskApplet.qml diff --git a/shell/lock/LockSurface.qml b/shell/lock/LockSurface.qml index 2bb361b..f59a5cd 100644 --- a/shell/lock/LockSurface.qml +++ b/shell/lock/LockSurface.qml @@ -179,7 +179,7 @@ WlSessionLockSurface { readonly property var _mprisPlayer: _mprisPlayers[0] ?? null readonly property bool _playing: _mprisPlayer?.playbackState === MprisPlaybackState.Playing - C.MprisContent { + C.MprisApplet { id: _mprisContent anchors.left: parent.left anchors.right: parent.right @@ -209,7 +209,7 @@ WlSessionLockSurface { objects: [Pipewire.defaultAudioSink] } - C.VolumeContent { + C.VolumeApplet { id: _volumeContent anchors.left: parent.left anchors.right: parent.right diff --git a/shell/modules/Cpu.qml b/shell/modules/Cpu.qml index e533f2e..f969bfe 100644 --- a/shell/modules/Cpu.qml +++ b/shell/modules/Cpu.qml @@ -76,7 +76,7 @@ M.BarSection { panelTitle: "CPU" contentWidth: 260 - C.CpuContent { + C.CpuApplet { width: hoverPanel.contentWidth cores: root._cores coreMaxFreq: root._coreMaxFreq diff --git a/shell/modules/Disk.qml b/shell/modules/Disk.qml index efcf8dd..d4c916c 100644 --- a/shell/modules/Disk.qml +++ b/shell/modules/Disk.qml @@ -57,7 +57,7 @@ M.BarSection { panelTitle: "Disk" contentWidth: 260 - C.DiskContent { + C.DiskApplet { width: hoverPanel.contentWidth mounts: root._mounts accentColor: root.accentColor diff --git a/shell/modules/Memory.qml b/shell/modules/Memory.qml index 7f3a294..cc0383a 100644 --- a/shell/modules/Memory.qml +++ b/shell/modules/Memory.qml @@ -67,7 +67,7 @@ M.BarSection { panelTitle: "Memory" contentWidth: 240 - C.MemoryContent { + C.MemoryApplet { width: hoverPanel.contentWidth percent: root.percent usedGb: root.usedGb diff --git a/shell/modules/Mpris.qml b/shell/modules/Mpris.qml index f4ceb1d..2072bce 100644 --- a/shell/modules/Mpris.qml +++ b/shell/modules/Mpris.qml @@ -124,7 +124,7 @@ M.BarSection { panelTitle: "Now Playing" contentWidth: 280 - C.MprisContent { + C.MprisApplet { width: hoverPanel.contentWidth player: root.player players: root._players diff --git a/shell/modules/Temperature.qml b/shell/modules/Temperature.qml index 7d30840..7533e6b 100644 --- a/shell/modules/Temperature.qml +++ b/shell/modules/Temperature.qml @@ -77,7 +77,7 @@ M.BarSection { panelTitle: "Temperature" contentWidth: 220 - C.TemperatureContent { + C.TemperatureApplet { width: hoverPanel.contentWidth temp: root._temp warm: root._warm diff --git a/shell/modules/Volume.qml b/shell/modules/Volume.qml index 77eac2f..8ce6ac8 100644 --- a/shell/modules/Volume.qml +++ b/shell/modules/Volume.qml @@ -115,7 +115,7 @@ M.BarSection { panelTitle: "Sound" contentWidth: 220 - C.VolumeContent { + C.VolumeApplet { width: hoverPanel.contentWidth sink: root.sink sinkList: root._sinkList