imjoseangel / powerline-k8sstatus

A Powerline segment for showing the status of a K8s context
MIT License
2 stars 0 forks source link

docs(readme): change styles #16

Closed imjoseangel closed 3 years ago

imjoseangel commented 3 years ago

SUMMARY

Fixes #9

ISSUE TYPE

COMPONENT NAME

Change style

ADDITIONAL INFORMATION

{
  "groups": {
    "k8sstatus":           {"fg": "white",  "bg": "solarized:red", "attrs": []},
    "k8sstatus_namespace": {"fg": "gray10", "bg": "darkestblue",  "attrs": []},
    "k8sstatus:divider":   {"fg": "white",  "bg": "mediumorange", "attrs": []}
  }
}

Then you can activate the K8Sstatus segment by adding it to your segment configuration, for example in .config/powerline/themes/shell/default.json:

{
    "function": "powerline_k8sstatus.k8sstatus",
    "priority": 50,
    "args": {
      "show_namespace": true
    }
}