powerline-shell
powerline-shell copied to clipboard
Add options to colorize host
C.f. issue #381.
This PR contain the code to add the fg
and bg
to Powerline. It take an RGB color in hexadecimal format.
Example .powerline-shell.json
file:
{
"segments": [
"...",
"hostname",
"..."
],
"hostname": {
"colorize": true,
"fg": "000000",
"bg": "ffffff"
}
}
Great solution, finally I can read the hostname