summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 15:52:18 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-27 15:52:18 +1000
commit4b9643a80229ecf0cf7e82c67124870fe95198f6 (patch)
tree41ef9ed884641dba2346c8ac400e0fc921555a7f /utils
parentconfig: allow enable/disable osd brightness (#481) (diff)
downloadcaelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.tar.gz
caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.tar.bz2
caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.zip
osd: add mic volume
Disabled by default
Diffstat (limited to 'utils')
-rw-r--r--utils/Icons.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/Icons.qml b/utils/Icons.qml
index cf81d67..826ccbe 100644
--- a/utils/Icons.qml
+++ b/utils/Icons.qml
@@ -184,6 +184,12 @@ Singleton {
return "volume_mute";
}
+ function getMicVolumeIcon(volume: real, isMuted: bool): string {
+ if (!isMuted && volume > 0)
+ return "mic";
+ return "mic_off";
+ }
+
function getSpecialWsIcon(name: string): string {
name = name.toLowerCase().slice("special:".length);
if (name === "special")