From aebd3235d755cb1ff95995b461e497fea2d52e8b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 11 Sep 2025 14:43:11 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/VolumeOSD.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/shell/quickshell/VolumeOSD.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/VolumeOSD.qml b/accounts/gkleen@sif/shell/quickshell/VolumeOSD.qml index 16fb5dea..653f4763 100644 --- a/accounts/gkleen@sif/shell/quickshell/VolumeOSD.qml +++ b/accounts/gkleen@sif/shell/quickshell/VolumeOSD.qml @@ -122,6 +122,8 @@ Scope { } else if (root.show == "source") { if (!Pipewire.defaultAudioSource || Pipewire.defaultAudioSource.audio.muted) return "microphone-off"; + if (Pipewire.defaultAudioSource.audio.volume > 1) + return "microphone-plus"; return "microphone"; } return "volume-high"; @@ -148,7 +150,7 @@ Scope { if (root.show == "sink") return parent.width * (Pipewire.defaultAudioSink?.audio.volume ?? 0); else if (root.show == "source") - return parent.width * (Pipewire.defaultAudioSource?.audio.volume ?? 0); + return parent.width * Math.min(1, (Pipewire.defaultAudioSource?.audio.volume ?? 0)); return 0; } } -- cgit v1.2.3