aboutsummaryrefslogtreecommitdiff
path: root/config/powerline/themes/ipython
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2013-04-16 01:22:46 -0500
committerBen Beltran <ben@nsovocal.com>2013-04-16 01:22:46 -0500
commit577b791c99b07471ec27e1f9c09e756a6f1da0cd (patch)
tree60daaa41542b03720931b5eace3b55abf57cf515 /config/powerline/themes/ipython
parent07c693d23065b9371ba3aa713e8fd4b0e9874c9d (diff)
Use the newer powerline.
Diffstat (limited to 'config/powerline/themes/ipython')
-rw-r--r--config/powerline/themes/ipython/in.json26
-rw-r--r--config/powerline/themes/ipython/in2.json13
-rw-r--r--config/powerline/themes/ipython/out.json25
-rw-r--r--config/powerline/themes/ipython/rewrite.json23
4 files changed, 87 insertions, 0 deletions
diff --git a/config/powerline/themes/ipython/in.json b/config/powerline/themes/ipython/in.json
new file mode 100644
index 0000000..ac979c5
--- /dev/null
+++ b/config/powerline/themes/ipython/in.json
@@ -0,0 +1,26 @@
+{
+ "default_module": "powerline.segments.common",
+ "segments": {
+ "left": [
+ {
+ "name": "virtualenv"
+ },
+ {
+ "type": "string",
+ "contents": "In[",
+ "draw_soft_divider": false,
+ "highlight_group": ["prompt"]
+ },
+ {
+ "name": "prompt_count",
+ "module": "powerline.segments.ipython",
+ "draw_soft_divider": false
+ },
+ {
+ "type": "string",
+ "contents": "]",
+ "highlight_group": ["prompt"]
+ }
+ ]
+ }
+}
diff --git a/config/powerline/themes/ipython/in2.json b/config/powerline/themes/ipython/in2.json
new file mode 100644
index 0000000..601fc9e
--- /dev/null
+++ b/config/powerline/themes/ipython/in2.json
@@ -0,0 +1,13 @@
+{
+ "default_module": "powerline.segments.common",
+ "segments": {
+ "left": [
+ {
+ "type": "string",
+ "contents": "",
+ "width": "auto",
+ "highlight_group": ["prompt"]
+ }
+ ]
+ }
+}
diff --git a/config/powerline/themes/ipython/out.json b/config/powerline/themes/ipython/out.json
new file mode 100644
index 0000000..11a6323
--- /dev/null
+++ b/config/powerline/themes/ipython/out.json
@@ -0,0 +1,25 @@
+{
+ "default_module": "powerline.segments.common",
+ "segments": {
+ "left": [
+ {
+ "type": "string",
+ "contents": "Out[",
+ "draw_soft_divider": false,
+ "width": "auto",
+ "align": "r",
+ "highlight_group": ["prompt"]
+ },
+ {
+ "name": "prompt_count",
+ "module": "powerline.segments.ipython",
+ "draw_soft_divider": false
+ },
+ {
+ "type": "string",
+ "contents": "]",
+ "highlight_group": ["prompt"]
+ }
+ ]
+ }
+}
diff --git a/config/powerline/themes/ipython/rewrite.json b/config/powerline/themes/ipython/rewrite.json
new file mode 100644
index 0000000..47d8de0
--- /dev/null
+++ b/config/powerline/themes/ipython/rewrite.json
@@ -0,0 +1,23 @@
+{
+ "segments": {
+ "left": [
+ {
+ "type": "string",
+ "contents": "",
+ "draw_soft_divider": false,
+ "width": "auto",
+ "highlight_group": ["prompt"]
+ },
+ {
+ "name": "prompt_count",
+ "module": "powerline.segments.ipython",
+ "draw_soft_divider": false
+ },
+ {
+ "type": "string",
+ "contents": ">",
+ "highlight_group": ["prompt"]
+ }
+ ]
+ }
+}