feat: add network-vpn plugin (only macOS)

Signed-off-by: Tomás Migone <tomasmigone@gmail.com>
This commit is contained in:
Tomás Migone 2022-08-26 10:55:12 +02:00
parent 150daf31e1
commit 0850532083
3 changed files with 40 additions and 3 deletions

View file

@ -168,6 +168,11 @@ main()
script="#($current_dir/network_ping.sh)"
fi
if [ $plugin = "network-vpn" ]; then
IFS=' ' read -r -a colors <<<$(get_tmux_option "@dracula-network-vpn-colors" "cyan dark_gray")
script="#($current_dir/network_vpn.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