From a6b63bf434f8c68ec4a729a02b247c5839ef2faa Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sat, 19 Jun 2021 19:36:15 +0200 Subject: [PATCH] Add (disabled) vpn indicator to left prompt --- .p10k.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.p10k.zsh b/.p10k.zsh index 8ac53d4..85b8879 100644 --- a/.p10k.zsh +++ b/.p10k.zsh @@ -32,6 +32,7 @@ typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( # os_icon # os identifier dir # current directory + # vpn_ip # virtual private network indicator vcs # git status prompt_char # prompt symbol ) @@ -1429,7 +1430,7 @@ ########################[ vpn_ip: virtual private network indicator ]######################### # VPN IP color. - typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=81 + typeset -g POWERLEVEL9K_VPN_IP_FOREGROUND=251 # When on VPN, show just an icon without the IP address. # Tip: To display the private IP address when on VPN, remove the next line. typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION=