Add priorities to ipython and shell themes

This commit is contained in:
ZyX 2014-08-10 20:50:42 +04:00
parent eeb3b5a1ce
commit 4f3a682de2
3 changed files with 30 additions and 15 deletions

View File

@ -3,7 +3,8 @@
"segments": {
"left": [
{
"name": "virtualenv"
"name": "virtualenv",
"priority": 10
},
{
"type": "string",

View File

@ -7,29 +7,36 @@
"name": "mode"
},
{
"name": "hostname"
"name": "hostname",
"priority": 10
},
{
"name": "user"
"name": "user",
"priority": 30
},
{
"name": "virtualenv"
"name": "virtualenv",
"priority": 50
},
{
"name": "cwd"
"name": "cwd",
"priority": 10
},
{
"module": "powerline.segments.shell",
"name": "jobnum"
"name": "jobnum",
"priority": 20
}
],
"right": [
{
"module": "powerline.segments.shell",
"name": "last_pipe_status"
"name": "last_pipe_status",
"priority": 10
},
{
"name": "branch"
"name": "branch",
"priority": 40
}
]
}

View File

@ -3,27 +3,34 @@
"segments": {
"left": [
{
"name": "hostname"
"name": "hostname",
"priority": 10
},
{
"name": "user"
"name": "user",
"priority": 30
},
{
"name": "virtualenv"
"name": "virtualenv",
"priority": 50
},
{
"name": "branch"
"name": "branch",
"priority": 40
},
{
"name": "cwd"
"name": "cwd",
"priority": 10
},
{
"module": "powerline.segments.shell",
"name": "jobnum"
"name": "jobnum",
"priority": 20
},
{
"module": "powerline.segments.shell",
"name": "last_status",
"module": "powerline.segments.shell"
"priority": 10
}
]
}