rename *Content.qml to *Applet.qml

This commit is contained in:
Damocles 2026-04-17 22:08:26 +02:00
parent 989182d603
commit 6461b9a943
14 changed files with 14 additions and 14 deletions

View file

@ -1,8 +1,8 @@
module applets module applets
HexWaveBackground 1.0 HexWaveBackground.qml HexWaveBackground 1.0 HexWaveBackground.qml
VolumeContent 1.0 VolumeContent.qml VolumeApplet 1.0 VolumeApplet.qml
MprisContent 1.0 MprisContent.qml MprisApplet 1.0 MprisApplet.qml
CpuContent 1.0 CpuContent.qml CpuApplet 1.0 CpuApplet.qml
MemoryContent 1.0 MemoryContent.qml MemoryApplet 1.0 MemoryApplet.qml
TemperatureContent 1.0 TemperatureContent.qml TemperatureApplet 1.0 TemperatureApplet.qml
DiskContent 1.0 DiskContent.qml DiskApplet 1.0 DiskApplet.qml

View file

@ -179,7 +179,7 @@ WlSessionLockSurface {
readonly property var _mprisPlayer: _mprisPlayers[0] ?? null readonly property var _mprisPlayer: _mprisPlayers[0] ?? null
readonly property bool _playing: _mprisPlayer?.playbackState === MprisPlaybackState.Playing readonly property bool _playing: _mprisPlayer?.playbackState === MprisPlaybackState.Playing
C.MprisContent { C.MprisApplet {
id: _mprisContent id: _mprisContent
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
@ -209,7 +209,7 @@ WlSessionLockSurface {
objects: [Pipewire.defaultAudioSink] objects: [Pipewire.defaultAudioSink]
} }
C.VolumeContent { C.VolumeApplet {
id: _volumeContent id: _volumeContent
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right

View file

@ -76,7 +76,7 @@ M.BarSection {
panelTitle: "CPU" panelTitle: "CPU"
contentWidth: 260 contentWidth: 260
C.CpuContent { C.CpuApplet {
width: hoverPanel.contentWidth width: hoverPanel.contentWidth
cores: root._cores cores: root._cores
coreMaxFreq: root._coreMaxFreq coreMaxFreq: root._coreMaxFreq

View file

@ -57,7 +57,7 @@ M.BarSection {
panelTitle: "Disk" panelTitle: "Disk"
contentWidth: 260 contentWidth: 260
C.DiskContent { C.DiskApplet {
width: hoverPanel.contentWidth width: hoverPanel.contentWidth
mounts: root._mounts mounts: root._mounts
accentColor: root.accentColor accentColor: root.accentColor

View file

@ -67,7 +67,7 @@ M.BarSection {
panelTitle: "Memory" panelTitle: "Memory"
contentWidth: 240 contentWidth: 240
C.MemoryContent { C.MemoryApplet {
width: hoverPanel.contentWidth width: hoverPanel.contentWidth
percent: root.percent percent: root.percent
usedGb: root.usedGb usedGb: root.usedGb

View file

@ -124,7 +124,7 @@ M.BarSection {
panelTitle: "Now Playing" panelTitle: "Now Playing"
contentWidth: 280 contentWidth: 280
C.MprisContent { C.MprisApplet {
width: hoverPanel.contentWidth width: hoverPanel.contentWidth
player: root.player player: root.player
players: root._players players: root._players

View file

@ -77,7 +77,7 @@ M.BarSection {
panelTitle: "Temperature" panelTitle: "Temperature"
contentWidth: 220 contentWidth: 220
C.TemperatureContent { C.TemperatureApplet {
width: hoverPanel.contentWidth width: hoverPanel.contentWidth
temp: root._temp temp: root._temp
warm: root._warm warm: root._warm

View file

@ -115,7 +115,7 @@ M.BarSection {
panelTitle: "Sound" panelTitle: "Sound"
contentWidth: 220 contentWidth: 220
C.VolumeContent { C.VolumeApplet {
width: hoverPanel.contentWidth width: hoverPanel.contentWidth
sink: root.sink sink: root.sink
sinkList: root._sinkList sinkList: root._sinkList