Add powerline configuration

This commit is contained in:
Evan Reichard
2020-10-22 10:23:28 -04:00
parent 5a2d3c1a55
commit a04e3b7154
3 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
{
"segments": {
"left": [
{
"function": "powerline.segments.shell.mode"
},
{
"function": "powerline.segments.common.net.hostname",
"priority": 10
},
{
"function": "powerline.segments.common.env.user",
"priority": 30
},
{
"function": "powerline.segments.common.env.virtualenv",
"priority": 50
},
{
"function": "powerline.segments.shell.cwd",
"priority": 10
},
{
"function": "powerline.segments.shell.jobnum",
"priority": 20
},
{
"function": "powerline_gitstatus.gitstatus",
"priority": 40
}
],
"right": [
{
"function": "powerline.segments.shell.last_pipe_status",
"priority": 10
},
{
"function": "powerline.segments.common.vcs.stash",
"priority": 50
},
{
"function": "powerline.segments.common.vcs.branch",
"priority": 40
}
]
}
}

View File

@@ -0,0 +1,28 @@
{
"segments": {
"right": [
{
"function": "powerline.segments.common.sys.cpu_load_percent",
"priority": 50
},
{
"function": "powerline.segments.common.time.date"
},
{
"function": "powerline.segments.common.time.date",
"name": "time",
"args": {
"format": "%H:%M",
"istime": true
}
},
{
"function": "powerline.segments.common.bat.battery",
"priority": 50
},
{
"function": "powerline.segments.common.net.hostname"
}
]
}
}