summaryrefslogtreecommitdiff
path: root/poezio/theming.py
diff options
context:
space:
mode:
authorJonas Schäfer <j.wielicki@sotecware.net>2020-05-10 15:08:10 +0200
committerLink Mauve <linkmauve@linkmauve.fr>2022-04-06 20:30:33 +0200
commit8b13d3c572ef230f3fcd8d12f1b7f4317193e637 (patch)
tree6d6307f977bc0efa8d5cf2e1d046ab1cf3f508a7 /poezio/theming.py
parent7b99fcfb2f367c51faf3f2fd2b6a583be87a9e45 (diff)
downloadpoezio-8b13d3c572ef230f3fcd8d12f1b7f4317193e637.tar.gz
poezio-8b13d3c572ef230f3fcd8d12f1b7f4317193e637.tar.bz2
poezio-8b13d3c572ef230f3fcd8d12f1b7f4317193e637.tar.xz
poezio-8b13d3c572ef230f3fcd8d12f1b7f4317193e637.zip
Colourize tab name in its infobar
This is for faster learning the colour <-> tab association and to see quickly in which tab you’re currently in.
Diffstat (limited to 'poezio/theming.py')
-rwxr-xr-xpoezio/theming.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/poezio/theming.py b/poezio/theming.py
index cc4ea34a..712a44ab 100755
--- a/poezio/theming.py
+++ b/poezio/theming.py
@@ -238,6 +238,10 @@ class Theme:
MODE_TAB_NORMAL = ''
MODE_TAB_IMPORTANT = 'r' # reverse video mode
+ # This is the mode used for the tab name in the info bar of MUC and 1:1
+ # chat tabs.
+ MODE_TAB_NAME = 'r'
+
COLOR_VERTICAL_TAB_NORMAL = (4, -1)
COLOR_VERTICAL_TAB_NONEMPTY = (4, -1)
COLOR_VERTICAL_TAB_JOINED = (82, -1)