From a99c97233bc02e682d2c7ef8f8fe584412fa7957 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 15 May 2019 18:00:53 +0200 Subject: Powerbar!!! --- powerline/themes/shell/__main__.json | 14 +++++++++ powerline/themes/shell/continuation.json | 12 ++++++++ powerline/themes/shell/default.json | 46 ++++++++++++++++++++++++++++ powerline/themes/shell/default_leftonly.json | 34 ++++++++++++++++++++ powerline/themes/shell/select.json | 13 ++++++++ 5 files changed, 119 insertions(+) create mode 100644 powerline/themes/shell/__main__.json create mode 100644 powerline/themes/shell/continuation.json create mode 100644 powerline/themes/shell/default.json create mode 100644 powerline/themes/shell/default_leftonly.json create mode 100644 powerline/themes/shell/select.json (limited to 'powerline/themes/shell') 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"] + } + ] + } +} -- cgit v1.2.3