From ef379e93c4b66e88f4c3b92f7da2d33d55946f40 Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Tue, 29 Oct 2019 21:59:15 +0200 Subject: [PATCH] [python] add BPython config --- python/bpython/config | 2 ++ python/bpython/dmitmel.theme | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 python/bpython/config create mode 100644 python/bpython/dmitmel.theme diff --git a/python/bpython/config b/python/bpython/config new file mode 100644 index 0000000..4d8822d --- /dev/null +++ b/python/bpython/config @@ -0,0 +1,2 @@ +[general] +color_scheme = dmitmel diff --git a/python/bpython/dmitmel.theme b/python/bpython/dmitmel.theme new file mode 100644 index 0000000..d519a5b --- /dev/null +++ b/python/bpython/dmitmel.theme @@ -0,0 +1,29 @@ +# Each letter represents a colour marker: +# k, r, g, y, b, m, c, w, d +# which stands for: +# blacK, Red, Green, Yellow, Blue, Magenta, Cyan, White, Default +# Capital letters represent bold +# Copy to $XDG_CONFIG_HOME/bpython/foo.theme and set "color_scheme = foo" in +# $XDG_CONFIG_HOME/bpython/config ($XDG_CONFIG_HOME defaults to ~/.config) + +[syntax] +keyword = m +name = b +comment = w +string = g +error = R +number = y +operator = w +punctuation = w +token = c +paren = k + +[interface] +# XXX: gnome-terminal appears to be braindead. The cursor will disappear unless +# you set the background colour to "d". +background = d +output = w +main = W +prompt = G +prompt_more = G +right_arrow_suggestion = c