summaryrefslogtreecommitdiff
path: root/sbar
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-18 15:00:52 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-18 15:00:52 -0800
commit3ad46f6da1d2a6944490cd80d8d93406c61b0c53 (patch)
treef37d8e4ad4e0f214d21f4b5675c9c3dfce191147 /sbar
parentb0daa991f630ce1d5ce9fdef9acb13c70fc68b42 (diff)
update
Diffstat (limited to 'sbar')
-rwxr-xr-xsbar2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbar b/sbar
index 392b65a..18c62f1 100755
--- a/sbar
+++ b/sbar
@@ -71,6 +71,8 @@ while :; do
[ $((sec % 5 )) -eq 0 ] && update_time # update time every 5 seconds
[ $((sec % 60)) -eq 0 ] && update_net
[ $((sec % 60)) -eq 0 ] && update_bat
+ # zoom turn on my mic on start, so need to monitor the change
+ [ $((sec % 60 )) -eq 0 ] && update_mic
# how often the display updates ( 5 seconds )
[ $((sec % 5 )) -eq 0 ] && display
sec=$((sec + 1))