mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
104 lines
3.9 KiB
JSON
104 lines
3.9 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",
|
|
"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.players.spotify_dbus",
|
|
"priority": 70,
|
|
"name": "player",
|
|
"args": {
|
|
"format": "{state_symbol} {artist} - {title} ({total}}"
|
|
}
|
|
},
|
|
{
|
|
"function": "powerline.segments.common.time.date",
|
|
"args": {
|
|
"format": " %H:%M"
|
|
}
|
|
},
|
|
{
|
|
"function": "powerline.segments.common.bat.battery",
|
|
"args": {
|
|
"gamify": true,
|
|
"full_heart": "♥ ",
|
|
"empty_heart": "",
|
|
"online": " ",
|
|
"offline": " "
|
|
}
|
|
|
|
}
|
|
]
|
|
}],
|
|
|
|
"left": [
|
|
{
|
|
"function": "powerline.segments.shell.last_pipe_status",
|
|
"priority": 20
|
|
},
|
|
{
|
|
"type": "string",
|
|
"name": "newline_prompt",
|
|
"contents": " ",
|
|
"highlight_groups": ["newline_prompt"],
|
|
"priority": 30
|
|
}
|
|
]
|
|
}
|
|
}
|