diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2022-05-03 08:41:57 +0200 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2022-05-03 08:41:57 +0200 |
commit | 12102c365247329f4d6964d6b48e12fa2bf67208 (patch) | |
tree | 0275ffef4d603a5f19dd161f79d6f80ebc9ab770 /Common/powerline_config/themes/shell | |
parent | 8c8ea3760651c226e585a67b3800e676a2cc86c0 (diff) | |
download | dotfiles-12102c365247329f4d6964d6b48e12fa2bf67208.tar.gz dotfiles-12102c365247329f4d6964d6b48e12fa2bf67208.zip |
Some changes
Diffstat (limited to 'Common/powerline_config/themes/shell')
5 files changed, 116 insertions, 0 deletions
diff --git a/Common/powerline_config/themes/shell/__main__.json b/Common/powerline_config/themes/shell/__main__.json new file mode 100644 index 0000000..13ae942 --- /dev/null +++ b/Common/powerline_config/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/Common/powerline_config/themes/shell/continuation.json b/Common/powerline_config/themes/shell/continuation.json new file mode 100644 index 0000000..9307fc0 --- /dev/null +++ b/Common/powerline_config/themes/shell/continuation.json @@ -0,0 +1,12 @@ +{ + "default_module": "powerline.segments.shell", + "segments": { + "left": [ + { + "function": "continuation" + } + ], + "right": [ + ] + } +} diff --git a/Common/powerline_config/themes/shell/default.json b/Common/powerline_config/themes/shell/default.json new file mode 100644 index 0000000..38039d8 --- /dev/null +++ b/Common/powerline_config/themes/shell/default.json @@ -0,0 +1,43 @@ +{ + "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 + } + ], + "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/Common/powerline_config/themes/shell/default_leftonly.json b/Common/powerline_config/themes/shell/default_leftonly.json new file mode 100644 index 0000000..b576273 --- /dev/null +++ b/Common/powerline_config/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/Common/powerline_config/themes/shell/select.json b/Common/powerline_config/themes/shell/select.json new file mode 100644 index 0000000..3d81408 --- /dev/null +++ b/Common/powerline_config/themes/shell/select.json @@ -0,0 +1,13 @@ +{ + "segments": { + "left": [ + { + "type": "string", + "contents": "Select variant", + "width": "auto", + "align": "r", + "highlight_groups": ["continuation:current"] + } + ] + } +} |