Ping plugin

This commit is contained in:
adrianmihalko 2021-12-23 00:50:24 +01:00
parent 5535270397
commit 41d32c0af3
3 changed files with 51 additions and 1 deletions

View file

@ -163,6 +163,12 @@ main()
script="#($current_dir/network_bandwidth.sh)"
fi
if [ $plugin = "network-ping" ]; then
IFS=' ' read -r -a colors <<<$(get_tmux_option "@dracula-network-ping-colors" "cyan dark_gray")
#tmux set-option -g status-right-length 250
script="#($current_dir/network_ping.sh)"
fi
if [ $plugin = "weather" ]; then
# wait unit $datafile exists just to avoid errors
# this should almost never need to wait unless something unexpected occurs