powerline-shell icon indicating copy to clipboard operation
powerline-shell copied to clipboard

Add options to colorize host

Open Safranil opened this issue 6 years ago • 1 comments

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"
  }
}

Safranil avatar Aug 14 '18 08:08 Safranil

Great solution, finally I can read the hostname

rdollinger avatar Jan 25 '22 17:01 rdollinger