mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
b07d0b7083
This segment has four states. MISSING: nordvpn is not installed. By default the segment is not shown in this state. Override POWERLEVEL9K_NORDVPN_MISSING_CONTENT_EXPANSION and/or POWERLEVEL9K_NORDVPN_MISSING_VISUAL_IDENTIFIER_EXPANSION to make the segment visible. CONNECTED: nordvpn is connected. By default shows LOCK_ICON as icon and country code as content. In addition, the following variables are set for the use by POWERLEVEL9K_NORDVPN_CONNECTED_CONTENT_EXPANSION and POWERLEVEL9K_NORDVPN_CONNECTED_VISUAL_IDENTIFIER_EXPANSION: P9K_NORDVPN_PROTOCOL, P9K_NORDVPN_IP_ADDRESS, P9K_NORDVPN_SERVER, P9K_NORDVPN_COUNTRY, P9K_NORDVPN_CITY and P9K_NORDVPN_STATUS (always "Connected"). These correspond to the output lines of `nordvpn status`. DISCONNECTED: nordvpn is disconnected. By default shows LOCK_ICON as icon and FAIL_ICON as content. P9K_NORDVPN_STATUS is set to "Disconnected". OTHER: nordvpn is in status other than "Connected" or "Disconnected". I'm not sure this is possible. By default shows LOCK_ICON as icon and FAIL_ICON as content. P9K_NORDVPN_STATUS is set to the actual status (neither empty, "Connected" nor "Disconnected"). Fixes #133. Needs more testing. |
||
---|---|---|
.. | ||
icons.zsh | ||
p10k.zsh |