diff options
author | 2019-05-15 18:00:53 +0200 | |
---|---|---|
committer | 2019-05-15 18:00:53 +0200 | |
commit | a99c97233bc02e682d2c7ef8f8fe584412fa7957 (patch) | |
tree | e96e8407efdab8ac0ef288e6889d004be3ccb784 /powerline/themes/shell | |
parent | 6423fc63ab75f73d641e3b2c89768f2334f2830b (diff) | |
download | dotfiles-a99c97233bc02e682d2c7ef8f8fe584412fa7957.tar.gz |
Powerbar!!!
Diffstat (limited to 'powerline/themes/shell')
-rw-r--r-- | powerline/themes/shell/__main__.json | 14 | ||||
-rw-r--r-- | powerline/themes/shell/continuation.json | 12 | ||||
-rw-r--r-- | powerline/themes/shell/default.json | 46 | ||||
-rw-r--r-- | powerline/themes/shell/default_leftonly.json | 34 | ||||
-rw-r--r-- | powerline/themes/shell/select.json | 13 |
5 files changed, 119 insertions, 0 deletions
diff --git a/powerline/themes/shell/__main__.json b/powerline/themes/shell/__main__.json new file mode 100644 index 0000000..13ae942 --- /dev/null +++ b/powerline/themes/shell/__main__.json @@ -0,0 +1,14 @@ +{ + "segment_data": { + "hostname": { + "args": { + "only_if_ssh": true + } + }, + "cwd": { + "args": { + "dir_limit_depth": 3 + } + } + } +} diff --git a/powerline/themes/shell/continuation.json b/powerline/themes/shell/continuation.json new file mode 100644 index 0000000..9307fc0 --- /dev/null +++ b/powerline/themes/shell/continuation.json @@ -0,0 +1,12 @@ +{ + "default_module": "powerline.segments.shell", + "segments": { + "left": [ + { + "function": "continuation" + } + ], + "right": [ + ] + } +} diff --git a/powerline/themes/shell/default.json b/powerline/themes/shell/default.json new file mode 100644 index 0000000..a15c5ef --- /dev/null +++ b/powerline/themes/shell/default.json @@ -0,0 +1,46 @@ +{ + "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.segments.common.vcs.branch" + } + ], + "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 + } + ] + } +} diff --git a/powerline/themes/shell/default_leftonly.json b/powerline/themes/shell/default_leftonly.json new file mode 100644 index 0000000..b576273 --- /dev/null +++ b/powerline/themes/shell/default_leftonly.json @@ -0,0 +1,34 @@ +{ + "segments": { + "left": [ + { + "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.common.vcs.branch", + "priority": 40 + }, + { + "function": "powerline.segments.shell.cwd", + "priority": 10 + }, + { + "function": "powerline.segments.shell.jobnum", + "priority": 20 + }, + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + } + ] + } +} diff --git a/powerline/themes/shell/select.json b/powerline/themes/shell/select.json new file mode 100644 index 0000000..3d81408 --- /dev/null +++ b/powerline/themes/shell/select.json @@ -0,0 +1,13 @@ +{ + "segments": { + "left": [ + { + "type": "string", + "contents": "Select variant", + "width": "auto", + "align": "r", + "highlight_groups": ["continuation:current"] + } + ] + } +} |