diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-01-18 15:00:52 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-01-18 15:00:52 -0800 |
commit | 3ad46f6da1d2a6944490cd80d8d93406c61b0c53 (patch) | |
tree | f37d8e4ad4e0f214d21f4b5675c9c3dfce191147 /sbar | |
parent | b0daa991f630ce1d5ce9fdef9acb13c70fc68b42 (diff) |
update
Diffstat (limited to 'sbar')
-rwxr-xr-x | sbar | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |