fixed volume indicator alignment
trickyni trickyniv56@gmail.com
Thu, 09 Oct 2025 14:31:49 +0300
4 files changed,
5 insertions(+),
14 deletions(-)
M
bar/modules/Moonphase.qml
→
bar/modules/Moonphase.qml
@@ -13,7 +13,7 @@ id: moonphase
color: Resources.palette.saffron font.pixelSize: Resources.fontsize.moonphase font.family: font_icon.name - + bottomPadding: 0 Process { id: moonphase_script command: ["bar/scripts/moon.sh"]
M
bar/modules/Volume.qml
→
bar/modules/Volume.qml
@@ -11,12 +11,7 @@ PwObjectTracker {
objects: [ Pipewire.defaultAudioSink ] } property var muted: Pipewire.defaultAudioSink?.audio.muted - Rectangle { - color: Resources.palette.bg - } -Class.RightRowLayout { id: volume_module - Layout.alignment: Qt.AlignVCenter Class.TopbarText { id: volume_indicator property var vol: Math.round((Pipewire.defaultAudioSink?.audio.volume ?? 0) * 100)@@ -24,6 +19,7 @@ text: (muted)
? "" : vol + "%" color: Resources.palette.fg + anchors.verticalCenter: parent } Class.TopbarIcon { text: (muted)@@ -38,9 +34,9 @@ : Icons.volume.low
color: (muted) ? Resources.palette.scarlet : Resources.palette.orange - anchors.verticalCenter: parent - } - Class.TopSep{} + anchors.verticalCenter: parent + bottomPadding: 0.5 } + Class.TopSep{} }