-/*
-Default color config for rainbowstream
-Following 16 basic colors is supported:
- default
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- grey
- light_red
- light_green
- light_yellow
- light_blue
- light_magenta
- light_cyan
- white
-*/
+// Default color config for rainbowstream
+// Following 16 basic colors is supported:
+// default
+// black
+// red
+// green
+// yellow
+// blue
+// magenta
+// cyan
+// grey
+// light_red
+// light_green
+// light_yellow
+// light_blue
+// light_magenta
+// light_cyan
+// white
{
"TWEET" : {
"favourite" : "light_green",
"rt" : "grey",
"link" : "light_cyan",
- "keyword" : "on_light_yellow",
+ "keyword" : "on_light_yellow"
},
"MESSAGE" : {
"recipient" : "grey",
"to" : "light_magenta",
"clock" : "grey",
- "id" : "grey",
+ "id" : "grey"
},
"PROFILE" : {
"description" : "light_yellow",
"location" : "light_magenta",
"url" : "light_cyan",
- "clock" : "white",
+ "clock" : "white"
},
"TREND" : {
- "url": "light_cyan",
+ "url": "light_cyan"
}
-
}
\ No newline at end of file
IMAGE_MAX_HEIGHT = 40
# Load colorset
-default_colorset = 'colorset/default.json'
+default_colorset = 'rainbowstream/colorset/default.json'
try:
if os.path.exists(default_colorset):
data = json.load(open(default_colorset))