aboutsummaryrefslogtreecommitdiff
path: root/demo.png
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-25 15:11:04 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-25 15:12:11 +0300
commitb07d0b70837442b660a5c8be5728184658f25cb7 (patch)
treec9e3e8f6187a0dcae600371128b1ce64451618a6 /demo.png
parent2ec4ed0702a1994471b74a11b4486f047163f71d (diff)
add nordvpn prompt segment
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.
Diffstat (limited to 'demo.png')
0 files changed, 0 insertions, 0 deletions