summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-25 19:04:52 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-25 19:04:52 +0300
commit7a44583f3adc48148bf9d54fd7f4ea83decb8259 (patch)
tree5c7968b3d920e6f5544e01ee831ed3d5e19e2558 /config/p10k-lean.zsh
parent0e31c204f7e8fa589a24d4159909f50d3391fa48 (diff)
add nordvpn to lean config
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh14
1 files changed, 10 insertions, 4 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index f2128c2a..10d6ac6d 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -53,6 +53,7 @@ fi
# nodeenv # node.js environment (https://github.com/ekalinin/nodeenv)
# node_version # node.js version
# kubecontext # current kubernetes context (https://kubernetes.io/)
+ # nordvpn # nordvpn connection status, linux only (https://nordvpn.com/)
context # user@host
# =========================[ Line #2 ]=========================
newline
@@ -68,15 +69,15 @@ fi
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SUBSEGMENT_SEPARATOR=' ' # separate segments with a space
typeset -g POWERLEVEL9K_{LEFT,RIGHT}_SEGMENT_SEPARATOR= # no end-of-line symbol
- # Disable segment icons by default.
+ # To disable default icons for all segments, define POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION=''.
#
- # To enable default icons for all segments, don't set POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION
+ # To enable default icons for all segments, don't define POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION
# or set it to '${P9K_VISUAL_IDENTIFIER}'.
#
- # To enable default segment icons for one segment (e.g., dir), define
+ # To enable default icons for one segment (e.g., dir), define
# POWERLEVEL9K_DIR_VISUAL_IDENTIFIER_EXPANSION='${P9K_VISUAL_IDENTIFIER}'.
#
- # To set a specific icon for a segment (e.g., dir), define
+ # To set a specific icon for one segment (e.g., dir), define
# POWERLEVEL9K_DIR_VISUAL_IDENTIFIER_EXPANSION='⭐'.
#
# To set a specific icon for a segment in a given state (e.g., dir in state NOT_WRITABLE),
@@ -285,6 +286,11 @@ fi
# Background jobs icon color.
typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_COLOR=2
+ # NordVPN connection indicator color when connected.
+ typeset -g POWERLEVEL9K_NORDVPN_CONNECTED_FOREGROUND=4
+ # NordVPN connection indicator color when disconnected.
+ typeset -g POWERLEVEL9K_NORDVPN_DISCONNECTED_FOREGROUND=3
+
# Context format: user@host.
typeset -g POWERLEVEL9K_CONTEXT_TEMPLATE='%n@%m'
# Default context color.