all repos — quickshell @ e2769bc3e55ea0c04a1fded710ab27af89bf482a

A desert-witch desktop shell

fixed volume indicator alignment
trickyni trickyniv56@gmail.com
Thu, 09 Oct 2025 14:31:49 +0300
commit

e2769bc3e55ea0c04a1fded710ab27af89bf482a

parent

13a4212a097157af96bcd3e5439995f68c1336bf

4 files changed, 5 insertions(+), 14 deletions(-)

jump to
M README.mdREADME.md

@@ -4,11 +4,6 @@ - status bar

- [WIP] Application launcher - ...And maybe more -## fixes - - volume icon not centered - - and doesn't recenter when muted - - maybe make it recenter without changing node size - ## TODO - bar - resize indicator
M bar/modules/Moonphase.qmlbar/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.qmlbar/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{} }