Package description here.
Project description
nr.powerline
Simple powerline implementation, only tested in Bash. It is recommended that you use a font from NerdFonts in order to have proper support for special characters (like the right triangle).
Simple Setup
$ pipx install nr.powerline
$ source <(nr-powerline --src bash)
Roadmap
- Daemon to run in the background to speed up powerline rendering.
- Pass previous status code into
nr-powerline
command. - Breadcrumb working directory
- Truecolor and xterm-256 color support
Plugins
The entry point for powerline plugins is nr.powerline.plugins
. Entry points
must inherit from the nr.powerline.plugins.Plugin
class.
Configuration
The powerline can be configured with environment variables.
Variable | Description |
---|---|
NR_POWERLINE_SCRIPT |
Path to a Python script that uses the nr.powerline API to render a powerline to stdout. |
NR_POWERLINE_CODE |
Actual Python code that uses the nr.powerline API to render a powerline to stdout. |
Check the default configuration in src/nr/powerline/main.py
for an example script.
Copyright © 2020 Niklas Rosenstein
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nr.powerline-0.0.5.tar.gz
(8.7 kB
view details)
File details
Details for the file nr.powerline-0.0.5.tar.gz
.
File metadata
- Download URL: nr.powerline-0.0.5.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73fdaf7cd6beba18920449bb9de917ee9508227cf77f912b048426fbf6954b4 |
|
MD5 | 87e3b00c32e76523ca1f783080587e4b |
|
BLAKE2b-256 | 56b6849c2510999f6cde01642a1594f277f40d4949cc6cc2e5a0407313ad6d10 |