Add themes and segments for terminal and tmux

This commit is contained in:
Kim Silkebækken 2012-12-13 15:23:12 +01:00
parent c5555d5637
commit e5c864ec1b
6 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
import os
def user_name():
user_name = os.environ.get('USER')
return {
'contents': user_name,
'highlight': 'user_name' if user_name != 'root' else ['user_name_root', 'user_name'],
}

View File

View File

@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
import os
def user_name():
user_name = os.environ.get('USER')
return {
'contents': user_name,
'highlight': 'user_name' if user_name != 'root' else ['user_name_root', 'user_name'],
}

View File

@ -0,0 +1,10 @@
{
"name": "default",
"segments": {
"left": [
{
"name": "user_name"
}
]
}
}

View File

@ -0,0 +1,10 @@
{
"name": "default",
"segments": {
"left": [
{
"name": "user_name"
}
]
}
}