summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-09-19 15:34:29 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-09-19 15:34:29 +0300
commit11783c73a341f4346032a7cd1c6d4b3fe321af3b (patch)
treeb2e811002d7d0a3ba02a5b3d74218dfc5335f1d1 /config/p10k-lean.zsh
parent4563f744dd377aca6ae68b5549a9ba2c078346a3 (diff)
add vpn_ip (disable by default)
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 4df9958a..e2d7b863 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -61,6 +61,7 @@ fi
context # user@host
nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
ranger # ranger shell (https://github.com/ranger/ranger)
+ # vpn_ip # virtual private network indicator
# ram # free RAM
# load # CPU load
# time # current time
@@ -665,6 +666,17 @@ fi
# Custom icon.
# typeset -g POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+ ########################[ vpn_ip: virtual private network indicator ]#########################
+ # VPN IP color.
+ typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81
+ # When on VPN, show just an icon without the IP address.
+ typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=
+ # Regular expression for the VPN network interface. Run ifconfig while on VPN to see the
+ # name of the interface.
+ typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(wg|(.*tun))[0-9]*'
+ # Custom icon.
+ # typeset -g POWERLEVEL9K_VPN_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
+
#########################[ proxy: system-wide http/https/ftp proxy ]##########################
# Proxy color.
typeset -g POWERLEVEL9K_PROXY_FOREGROUND=68