From 72efe134f645a5212f875c153dd8db4a64cbe968 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Tue, 23 Jan 2024 11:13:18 +0100 Subject: changes --- linux/powerline_config/themes/ipython/in.json | 25 ++++++++++++++++++++++ linux/powerline_config/themes/ipython/in2.json | 12 +++++++++++ linux/powerline_config/themes/ipython/out.json | 24 +++++++++++++++++++++ linux/powerline_config/themes/ipython/rewrite.json | 23 ++++++++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 linux/powerline_config/themes/ipython/in.json create mode 100644 linux/powerline_config/themes/ipython/in2.json create mode 100644 linux/powerline_config/themes/ipython/out.json create mode 100644 linux/powerline_config/themes/ipython/rewrite.json (limited to 'linux/powerline_config/themes/ipython') diff --git a/linux/powerline_config/themes/ipython/in.json b/linux/powerline_config/themes/ipython/in.json new file mode 100644 index 0000000..edd4d29 --- /dev/null +++ b/linux/powerline_config/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/linux/powerline_config/themes/ipython/in2.json b/linux/powerline_config/themes/ipython/in2.json new file mode 100644 index 0000000..422c44b --- /dev/null +++ b/linux/powerline_config/themes/ipython/in2.json @@ -0,0 +1,12 @@ +{ + "segments": { + "left": [ + { + "type": "string", + "contents": "", + "width": "auto", + "highlight_groups": ["prompt"] + } + ] + } +} diff --git a/linux/powerline_config/themes/ipython/out.json b/linux/powerline_config/themes/ipython/out.json new file mode 100644 index 0000000..2425d0b --- /dev/null +++ b/linux/powerline_config/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/linux/powerline_config/themes/ipython/rewrite.json b/linux/powerline_config/themes/ipython/rewrite.json new file mode 100644 index 0000000..8192fe4 --- /dev/null +++ b/linux/powerline_config/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