From 676aee44b7b7998bb07be52288091e95ed7109a2 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 7 Nov 2021 01:35:55 -0700 Subject: sbar, treat mullvad --- home/xyz/.local/bin/sbar | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'home/xyz') 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 -- cgit v1.2.3-70-g09d2