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/ipython/in.json | 25 +++++++++++++++++++++++++ powerline/themes/ipython/in2.json | 12 ++++++++++++ powerline/themes/ipython/out.json | 24 ++++++++++++++++++++++++ powerline/themes/ipython/rewrite.json | 23 +++++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 powerline/themes/ipython/in.json create mode 100644 powerline/themes/ipython/in2.json create mode 100644 powerline/themes/ipython/out.json create mode 100644 powerline/themes/ipython/rewrite.json (limited to 'powerline/themes/ipython') diff --git a/powerline/themes/ipython/in.json b/powerline/themes/ipython/in.json new file mode 100644 index 0000000..edd4d29 --- /dev/null +++ b/powerline/themes/ipython/in.json @@ -0,0 +1,25 @@ +{ + "segments": { + "left": [ + { + "function": "powerline.segments.common.env.virtualenv", + "priority": 10 + }, + { + "type": "string", + "contents": "In [", + "draw_soft_divider": false, + "highlight_groups": ["prompt"] + }, + { + "function": "powerline.segments.ipython.prompt_count", + "draw_soft_divider": false + }, + { + "type": "string", + "contents": "]", + "highlight_groups": ["prompt"] + } + ] + } +} diff --git a/powerline/themes/ipython/in2.json b/powerline/themes/ipython/in2.json new file mode 100644 index 0000000..422c44b --- /dev/null +++ b/powerline/themes/ipython/in2.json @@ -0,0 +1,12 @@ +{ + "segments": { + "left": [ + { + "type": "string", + "contents": "", + "width": "auto", + "highlight_groups": ["prompt"] + } + ] + } +} diff --git a/powerline/themes/ipython/out.json b/powerline/themes/ipython/out.json new file mode 100644 index 0000000..2425d0b --- /dev/null +++ b/powerline/themes/ipython/out.json @@ -0,0 +1,24 @@ +{ + "default_module": "powerline.segments.ipython", + "segments": { + "left": [ + { + "type": "string", + "contents": "Out[", + "draw_soft_divider": false, + "width": "auto", + "align": "r", + "highlight_groups": ["prompt"] + }, + { + "function": "prompt_count", + "draw_soft_divider": false + }, + { + "type": "string", + "contents": "]", + "highlight_groups": ["prompt"] + } + ] + } +} diff --git a/powerline/themes/ipython/rewrite.json b/powerline/themes/ipython/rewrite.json new file mode 100644 index 0000000..8192fe4 --- /dev/null +++ b/powerline/themes/ipython/rewrite.json @@ -0,0 +1,23 @@ +{ + "default_module": "powerline.segments.ipython", + "segments": { + "left": [ + { + "type": "string", + "contents": "", + "draw_soft_divider": false, + "width": "auto", + "highlight_groups": ["prompt"] + }, + { + "function": "prompt_count", + "draw_soft_divider": false + }, + { + "type": "string", + "contents": ">", + "highlight_groups": ["prompt"] + } + ] + } +} -- cgit v1.2.3