Powerline Full
An extension of the Powerline theme, powerline_full
includes all data
sources that Liquid Prompt provides. The ordering is the same as the default
theme.
New in version 1.0.
Preview
If there is nothing special about the current context, the appearance of Powerline might be as simple as this:
If you are running a background command and are also in the “main” branch of a Git repository on a server:
When Liquid Prompt is displaying nearly everything, it may look like this:
Configuration
Liquid Prompt Configuration
All Liquid Prompt config options are respected, except for:
Theme Configuration
Powerline Full uses all the config options of the Powerline theme, except for:
Powerline Full adds these config options:
Markers
- POWERLINE_AWS_PROFILE_MARKER: string = "AWS: "
The marker string used to indicate the following string is the name of an AWS profile.
- POWERLINE_CHROOT_MARKER: string = "chroot: "
The marker string used to indicate the following string is a chroot.
- POWERLINE_KUBECONTEXT_MARKER: string = $LP_MARK_KUBECONTEXT
The marker string used to indicate the following string is the name of a
kubectl
context.
- POWERLINE_NODE_ENV_MARKER: string = "node: "
The marker string used to indicate the following string is a Node.js environment.
- POWERLINE_PROXY_MARKER: string = "proxy: "
The marker string used to indicate the following string is a HTTP proxy.
- POWERLINE_RUBY_ENV_MARKER: string = "ruby: "
The marker string used to indicate the following string is a Ruby environment.
- POWERLINE_SOFTWARE_COLLECTION_MARKER: string = "(sc) "
The marker string used to indicate the following string is a Red Hat Software Collection.
- POWERLINE_TERRAFORM_ENV_MARKER: string = "(tf) "
The marker string used to indicate the following string is a Terraform workspace.
Colors
Note
Arrays are set without commas (,
). The default values are displayed with
commas for clarity.
- POWERLINE_AWS_PROFILE_COLOR: array<int> = (190, 236, 0, 0, 3, 0)
Color for the AWS profile section.
- POWERLINE_BATTERY_COLOR: array<int> = (-1, 238, 0, 0, -1, 0)
Color for the battery section.
- POWERLINE_CHROOT_COLOR: array<int> = (219, 30, 0, 0, 7, 4)
Color for the chroot section.
- POWERLINE_CONTAINER_COLOR: array<int> = $POWERLINE_NEUTRAL_COLOR
Color for the container indicator section.
- POWERLINE_DIRSTACK_COLOR: array<int> = $POWERLINE_NEUTRAL_COLOR
Color for the directory stack section.
- POWERLINE_KUBECONTEXT_COLOR: array<int> = (231, 74, 0, 0, 7, 4)
Color for the Kubernetes context section.
- POWERLINE_LOAD_COLOR: array<int> = (-1, 148, 0, 0, -1, 3)
Color for the CPU load section.
- POWERLINE_NEUTRAL_COLOR: array<int> = (252, 234, 0, 0, 7, 0)
Color for all neutral sections,
LP_PS1_PREFIX
andLP_PS1_POSTFIX
.
- POWERLINE_NODE_ENV_COLOR: array<int> = $POWERLINE_PYTHON_ENV_COLOR
Color for the Node.js environment section.
- POWERLINE_PROXY_COLOR: array<int> = (21, 219, 1, 0, 4, 7)
Color for the HTTP proxy section.
- POWERLINE_RUBY_ENV_COLOR: array<int> = $POWELINE_PYTHON_ENV_COLOR
Color for the Ruby environment section.
- POWERLINE_RUNTIME_COLOR: array<int> = (226, 17, 0, 0, 3, 4)
Color for the command runtime section.
- POWERLINE_SHLVL_COLOR: array<int> = (231, 58, 0, 0, 7, 2)
Color for the nested shell level section.
- POWERLINE_SOFTWARE_COLLECTIONS_COLOR: array<int> = (231, 62, 0, 0, 7, 5)
Color for the Red Hat Software Collections section.
- POWERLINE_TEMPERATURE_COLOR: array<int> = (-1, 240, 0, 0, -1, 0)
Color for the temperature section.
- POWERLINE_TERRAFORM_ENV_COLOR: array<int> = (231, 182, 0, 0, 7, 4)
Color for the Terraform workspace.
- POWERLINE_TIME_COLOR: array<int> = (33, 17, 0, 0, 5, 4)
Color for the current time section.
- POWERLINE_WIFI_STRENGTH_COLOR: array<int> = (-1, 148, 0, 0, -1, 3)
Color for the wireless signal strength section.