Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/15cm/powerline-pyenv

A Powerline segment for showing pyenv version
https://github.com/15cm/powerline-pyenv

powerline python

Last synced: 15 days ago
JSON representation

A Powerline segment for showing pyenv version

Awesome Lists containing this project

README

        

A Powerline segment for showing pyenv and virtualenv(used by pipenv) version

![Screenshot](./screenshot.png "Screenshot")

# Installation
```
pip install powerline-pyenv
```

# Usage
## Segment
Activate the `pyenv` segment in `~/.config/powerline/themes/shell/default.json`
```json
{
"priority": 10,
"function": "powerline_pyenv.pyenv"
}
```

## Colorscheme
Config highlight groups in colorscheme files, e.g. `~/.config/powerline/colorschemes/shell/nord.json`:

### Dark(Nord)
```json
{
"groups": {
"pyenv:version": {
"bg": "gray1",
"fg": "green"
}
}
}
```

### Light(Solarized Light)
```json
{
"groups": {
"pyenv:version": {
"fg": "solarized:green",
"bg": "solarized:base2"
},
}
}
```