summaryrefslogtreecommitdiff
path: root/modules/bar
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-08 23:49:14 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-08 23:49:14 +1000
commit24a1af185a114c63812a05b15a69923ef00f15db (patch)
treecedb2a9bf9c513dded2f9012b3ab26424e55b755 /modules/bar
parentMerge branch 'main' of https://github.com/caelestia-dots/shell (diff)
downloadcaelestia-shell-24a1af185a114c63812a05b15a69923ef00f15db.tar.gz
caelestia-shell-24a1af185a114c63812a05b15a69923ef00f15db.tar.bz2
caelestia-shell-24a1af185a114c63812a05b15a69923ef00f15db.zip
bar/statusicons: add mic indicator
Closes #578
Diffstat (limited to 'modules/bar')
-rw-r--r--modules/bar/components/StatusIcons.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/bar/components/StatusIcons.qml b/modules/bar/components/StatusIcons.qml
index 23be57b..839a61a 100644
--- a/modules/bar/components/StatusIcons.qml
+++ b/modules/bar/components/StatusIcons.qml
@@ -115,6 +115,18 @@ StyledRect {
}
}
+ // Microphone icon
+ WrappedLoader {
+ name: "audio"
+ active: Config.bar.status.showMicrophone
+
+ sourceComponent: MaterialIcon {
+ animate: true
+ text: Icons.getMicVolumeIcon(Audio.sourceVolume, Audio.sourceMuted)
+ color: root.colour
+ }
+ }
+
// Keyboard layout icon
WrappedLoader {
name: "kblayout"