From 107a9e99e310ecd63ddd4367811bebc93f05ac41 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 22 Aug 2010 16:34:14 +0000 Subject: [PATCH] also this --- CHANGELOG | 3 +- data/default_config.cfg | 18 +++++++++-- data/themes/dark | 71 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 data/themes/dark diff --git a/CHANGELOG b/CHANGELOG index 6c8fcb4d..1055837d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,7 +3,7 @@ For more detailed changelog, see the roadmap: http://codingteam.net/project/poezio/roadmap * Poezio 0.7 - dev -Complete the MUC support +"Complete the MUC support" - /say command - Warn user about publicly logged rooms - Possibility to limit the number of history messages received from MUC @@ -13,6 +13,7 @@ Complete the MUC support - A line indicates the new messages in the window - bugfixes + * Poezio 0.6.2 - 21 Jul 2010 - Lines are now broken between words and not in the middle of them - /unquery command diff --git a/data/default_config.cfg b/data/default_config.cfg index b5d2a0e4..a78b16a8 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -5,7 +5,7 @@ [Poezio] # the server. Make sure the server you're using accepts anonymous authentification -server = louiz.org +server = anon.louiz.org:jeproteste.info # the port you'll use to connect port = 5222 @@ -102,7 +102,7 @@ muc_history_length = -1 use_log = false # If log_dir is not set, logs will be saved in $XDG_DATA_HOME/poezio/logs, -# i.e. in ~/.local/share/poezio/logs. So, you should specify the directory +# i.e. in ~/.local/share/poezio/logs/. So, you should specify the directory # you want to use instead. This directory will be created if it doesn't exist log_dir = @@ -113,6 +113,20 @@ log_dir = #photo = ../data/poezio_80.png +# Theme + +# If themes_dir is not set, logs will searched for in $XDG_DATA_HOME/poezio/themes, +# i.e. in ~/.local/share/poezio/themes/. Si you should specify the directory you +# want to use instead. This directory will be created at startup if it doesn't +# exist +themes_dir = + +# The name of the theme file that will be used. The file should be located +# in the theme_dir directory. +# If the file is not found (or no filename is specified) the default +# theme will be used instead +theme_file = poezio + # if true, information about the software (name and version) # will be sent if requested by anyone # Set to false if you don't want people to know these information diff --git a/data/themes/dark b/data/themes/dark new file mode 100644 index 00000000..d2c77339 --- /dev/null +++ b/data/themes/dark @@ -0,0 +1,71 @@ +# A dark theme file. +# For more informations, see http://codingteam.net/project/poezio/doc/TheThemes + + +# Message text color +COLOR_NORMAL_TEXT = 80 +COLOR_INFORMATION_TEXT = 76 +COLOR_HIGHLIGHT_TEXT = 79 + +# User list color +COLOR_USER_VISITOR = 78 +COLOR_USER_PARTICIPANT = 73 +COLOR_USER_NONE = 80 +COLOR_USER_MODERATOR = 77 + +# The character printed in color (COLOR_STATUS_*) before the nickname +# in the user list +CHAR_STATUS = '|' + +# Separators +COLOR_VERTICAL_SEPARATOR = 72 +COLOR_NEW_TEXT_SEPARATOR = 75 + +# Time +COLOR_TIME_SEPARATOR = 79 +COLOR_TIME_BRACKETS = 72 +COLOR_TIME_NUMBERS = 0 + +# Tabs +COLOR_TAB_NORMAL = 8 +COLOR_TAB_CURRENT = 0 +COLOR_TAB_NEW_MESSAGE = 7 +COLOR_TAB_HIGHLIGHT = 5 +COLOR_TAB_PRIVATE = 3 + +# Nickname colors +LIST_COLOR_NICKNAMES = [ + 73, 74, 75, 76, 77, 79 + ] +COLOR_OWN_NICK = 80 + +# Status color +COLOR_STATUS_XA = 76 +COLOR_STATUS_NONE = 73 +COLOR_STATUS_DND = 77 +COLOR_STATUS_AWAY = 79 +COLOR_STATUS_CHAT = 75 + +# Bars +COLOR_INFORMATION_BAR = 8 +COLOR_TOPIC_BAR = 8 +COLOR_PRIVATE_ROOM_BAR = 3 +COLOR_SCROLLABLE_NUMBER = 75 + +# Strings for special messages (like join, quit, nick change, etc) + +# Special messages +CHAR_JOIN = '---->' +CHAR_QUIT = '<----' +CHAR_KICK = '-!-' + +COLOR_JOIN_CHAR = 73 +COLOR_QUIT_CHAR = 77 +COLOR_KICK_CHAR = 77 + +# words between () +COLOR_CURLYBRACKETED_WORD = 72 +# words between {} +COLOR_ACCOLADE_WORD = 74 +# words between [] +COLOR_BRACKETED_WORD = 79 \ No newline at end of file