diff options
author | xyz <gky44px1999@gmail.com> | 2021-11-07 01:35:55 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-11-07 01:35:55 -0700 |
commit | 676aee44b7b7998bb07be52288091e95ed7109a2 (patch) | |
tree | 0bfe52a027ebfa738f69b39f65456c62f0d63b61 /home/xyz/.local/bin/sbar | |
parent | 6ff33f6a2c7fc2473ff851b217eaf1e9a38310a9 (diff) |
sbar, treat mullvad
Diffstat (limited to 'home/xyz/.local/bin/sbar')
-rwxr-xr-x | home/xyz/.local/bin/sbar | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/sbar b/home/xyz/.local/bin/sbar index 3044fddc..32e46c67 100755 --- a/home/xyz/.local/bin/sbar +++ b/home/xyz/.local/bin/sbar @@ -57,6 +57,7 @@ update_bat () { update_vol update_mic update_cap +update_vpn display () { xsetroot -name "$(echo "$time | N $net V $vpn | M $vol C $mic | $cap | $bat")" @@ -81,7 +82,8 @@ while true; do ## [ $((sec % n)) -eq m ] && udpate_item [ $((sec % 5 )) -eq 0 ] && update_time # update time every 5 seconds [ $((sec % 5 )) -eq 0 ] && update_net - [ $((sec % 5 )) -eq 0 ] && update_vpn + # mullvad like writing log when asking it about status + #[ $((sec % 5 )) -eq 0 ] && update_vpn [ $((sec % 60)) -eq 0 ] && update_bat #[ $((sec % 300)) -eq 1 ] && update_event |