diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-27 15:52:18 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-27 15:52:18 +1000 |
| commit | 4b9643a80229ecf0cf7e82c67124870fe95198f6 (patch) | |
| tree | 41ef9ed884641dba2346c8ac400e0fc921555a7f /utils/Icons.qml | |
| parent | config: allow enable/disable osd brightness (#481) (diff) | |
| download | caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.tar.gz caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.tar.bz2 caelestia-shell-4b9643a80229ecf0cf7e82c67124870fe95198f6.zip | |
osd: add mic volume
Disabled by default
Diffstat (limited to 'utils/Icons.qml')
| -rw-r--r-- | utils/Icons.qml | 6 |
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") |