dot_files/.config/powerline/themes/shell/default.json

109 lines
4.1 KiB
JSON

{
"segments": {
"above": [{
"left": [
{
"function": "powerline.segments.common.net.internal_ip",
"priority": 10
},
{
"function": "powerline.segments.common.net.hostname",
"priority": 20
},
{
"function": "powerline.segments.common.env.cwd",
"before": " ",
"priority": 30,
"args": {
"use_shortened_path": true
}
},
{
"function": "powerline_gitstatus.gitstatus",
"draw_soft_divider": false,
"draw_hard_divider": true,
"priority": 40,
"args": {
"show_tag": "exact",
"formats": {
"branch": "  {}",
"tag": " ﮉ {}",
"untracked": "  {}",
"changed": "  {}",
"staged": "  {}",
"stashed": "  {}",
"ahead": "  {}",
"behind": "   {}"
}
}
},
{
"function": "powerline.segments.common.env.virtualenv",
"before": " ",
"priority": 50
},
{
"type": "string",
"highlight_groups": ["background"],
"draw_soft_divider": false,
"draw_hard_divider": true,
"width": "auto"
},
{
"function": "powerline_kubernetes.kubernetes",
"priority": 60,
"args": {
"show_kube_logo": true,
"show_cluster": false,
"show_namespace": true,
"show_default_namespace": false,
"alerts": ["live", "cluster:live"]
}
},
{
"function": "powerline.segments.common.mail.email_imap_alert",
"display": false,
"args": {
"username": "youruser@domain.tld, but as a shell variable",
"password": "but as a shell variable though",
"interval": 60,
"port": "1143",
"server": "127.0.0.1"
}
},
{
"function": "powerline.segments.common.bat.battery",
"args": {
"gamify": true,
"full_heart": "♥ ",
"empty_heart": " ",
"online": " ",
"offline": " "
}
},
{
"function": "powerline.segments.common.time.date",
"args": {
"format": " %H:%M"
}
}
]
}],
"left": [
{
"function": "powerline.segments.shell.last_pipe_status",
"priority": 20
},
{
"type": "string",
"name": "newline_prompt",
"contents": " ",
"highlight_groups": ["newline_prompt"],
"priority": 30
}
]
}
}