Nic0 / tyrs

Twitter and Identica client using curses
http://tyrs.nicosphere.net
61 stars 10 forks source link

Cannot change colors in tyrs 0.6.0 #107

Closed laanwj closed 12 years ago

laanwj commented 12 years ago

As the default colors don't really work for me (way too dark on my dark background terminal) I've tried reconfiguring them through $HOME/.config/tyrs/tyrs.cfg. I've tried all kinds of combinations but tyrs is ignoring the color settings.

The source code agrees with me. It uses 'palette' now instead of 'colors'. However, there does not seem to be a way to change this except for editing constants.py?

Nic0 commented 12 years ago

You're right, colors aren't anymore configurable so far, it's on the todo list for the next release, and hopefully, i'll implement this during this week-end. the reason is, I now use urwid, and all the user interface was changes, and didn't had time to get every settings back.

So far, indeed, you need to edit this palette in constants.py, you can find colors code in this link: http://excess.org/urwid/wiki/RecommendedPalette

by the way, I have dark background as well, but probably a Xdefaults who does the trick. anyway, sorry about that, will be fix soon.

laanwj commented 12 years ago

Thanks, that makes sense; I'm using gnome-terminal with "Linux Console" terminal colors. The first 8 linux terminal colors, unlike the xterm ones, are pretty dark.

I've edited the constants.py for now.

Nic0 commented 12 years ago

Done in latest commit. Check documentation: http://tyrs.nicosphere.net/reference.html#_colors

laanwj commented 12 years ago

Great, thanks!