mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-14 03:01:13 +00:00
16 lines
260 B
Bash
Executable File
16 lines
260 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
openvpn_icon="%{T2}%{T-}"
|
|
globalprotect_icon="%{T2}%{T-}"
|
|
|
|
output=""
|
|
if pgrep openvpn >/dev/null; then
|
|
output=${openvpn_icon}
|
|
fi
|
|
|
|
if pgrep gpclient >/dev/null; then
|
|
output="${output} ${globalprotect_icon}"
|
|
fi
|
|
|
|
echo "$output"
|