summaryrefslogtreecommitdiff
path: root/data/themes/irssi.py
diff options
context:
space:
mode:
authorJonas Wielicki <jonas@wielicki.name>2017-08-28 17:27:21 +0000
committermathieui <mathieui@mathieui.net>2017-08-31 00:47:19 +0200
commitae45666ff9536c0ce901985331fa1036a2dd4213 (patch)
treefa334bb9c878465a1ff1fbb2fa62ea14ea15e90c /data/themes/irssi.py
parentc6318db8c158ceec9f22938a0aae18af06374a0d (diff)
downloadpoezio-ae45666ff9536c0ce901985331fa1036a2dd4213.tar.gz
poezio-ae45666ff9536c0ce901985331fa1036a2dd4213.tar.bz2
poezio-ae45666ff9536c0ce901985331fa1036a2dd4213.tar.xz
poezio-ae45666ff9536c0ce901985331fa1036a2dd4213.zip
irssi theme: disable yellow and bright nick colours
This helps with distinguishing highlights and normal messages.
Diffstat (limited to 'data/themes/irssi.py')
-rw-r--r--data/themes/irssi.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/themes/irssi.py b/data/themes/irssi.py
index 95ba3d62..79624c54 100644
--- a/data/themes/irssi.py
+++ b/data/themes/irssi.py
@@ -11,6 +11,14 @@ class IrssiTheme(poezio.theming.Theme):
COLOR_HIGHLIGHT_NICK = (11, -1, 'b')
COLOR_ME_MESSAGE = (15, -1)
+ def __init__(self):
+ super().__init__()
+ self.LIST_COLOR_NICKNAMES = self.LIST_COLOR_NICKNAMES[:]
+ self.LIST_COLOR_NICKNAMES.remove((19, -1))
+ self.LIST_COLOR_NICKNAMES.remove((20, -1))
+ self.LIST_COLOR_NICKNAMES.remove((226, -1))
+ self.LIST_COLOR_NICKNAMES.remove((227, -1))
+
theme = IrssiTheme()