projects
/
rainbowstream.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cycle-color
[rainbowstream.git]
/
rainbowstream
/
draw.py
diff --git
a/rainbowstream/draw.py
b/rainbowstream/draw.py
index 148fc5884456378dfa81f376f6e8bec921510f39..2586289d8e85c100d7330f86738616805c19e93b 100644
(file)
--- a/
rainbowstream/draw.py
+++ b/
rainbowstream/draw.py
@@
-27,8
+27,7
@@
def check_theme():
if c['theme'] == 'custom':
config = os.environ.get(
'HOME',
if c['theme'] == 'custom':
config = os.environ.get(
'HOME',
- os.environ.get(
- 'USERPROFILE',
+ os.environ.get('USERPROFILE',
'')) + os.sep + '.rainbow_config.json'
else:
config = 'rainbowstream/colorset/'+c['theme']+'.json'
'')) + os.sep + '.rainbow_config.json'
else:
config = 'rainbowstream/colorset/'+c['theme']+'.json'
@@
-37,6
+36,8
@@
def check_theme():
if data:
for d in data:
c[d] = data[d]
if data:
for d in data:
c[d] = data[d]
+ # Re-init color cycle
+ cyc = init_cycle()
def color_func(func_name):
def color_func(func_name):