mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-11 22:02:32 +01:00
Merge pull request #684 from Artistan/color_names
Use color names, plus fixes
This commit is contained in:
commit
3d79ca1adc
7 changed files with 292 additions and 38 deletions
|
|
@ -245,7 +245,7 @@ battery level. This will override the following variables:
|
|||
`POWERLEVEL9K_BATTERY_DISCONNECTED`, and `POWERLEVEL9K_BATTERY_LOW_COLOR`. In
|
||||
order to do this, define a color array, from low to high, as shown below:
|
||||
```zsh
|
||||
POWERLEVEL9K_BATTERY_LEVEL_BACKGROUND=(196 202 208 214 220 226 190 154 118 82 46)
|
||||
POWERLEVEL9K_BATTERY_LEVEL_BACKGROUND=(red1 orangered1 darkorange orange1 gold1 yellow1 yellow2 greenyellow chartreuse1 chartreuse2 green1)
|
||||
```
|
||||
|
||||
As with the battery stages, you can use any number of colors and Powerlevel9k
|
||||
|
|
@ -253,9 +253,9 @@ will automatically use all of them appropriately.
|
|||
|
||||
Some example settings:
|
||||
|Brightness|Possible Array|
|
||||
|Bright Colors|(196 202 208 214 220 226 190 154 118 82 46)|
|
||||
|Normal Colors|(124 130 136 142 148 112 76 40 34 28 22)|
|
||||
|Subdued Colors|( 88 94 100 106 70 34 28 22)|
|
||||
|Bright Colors|(red1 orangered1 darkorange orange1 gold1 yellow1 yellow2 greenyellow chartreuse1 chartreuse2 green1)|
|
||||
|Normal Colors|(red3 darkorange3 darkgoldenrod gold3 yellow3 chartreuse2 mediumspringgreen green3 green3 green4 darkgreen)|
|
||||
|Subdued Colors|(darkred orange4 yellow4 yellow4 chartreuse3 green3 green4 darkgreen)|
|
||||
|
||||
##### command_execution_time
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue