Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/15cm/powerline-pyenv
- Owner: 15cm
- License: mit
- Created: 2019-09-02T05:37:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-16T05:49:03.000Z (almost 5 years ago)
- Last Synced: 2024-08-01T18:29:45.736Z (4 months ago)
- Topics: powerline, python
- Language: Python
- Size: 215 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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"
},
}
}
```