aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2023-01-12 22:10:40 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-18 11:32:53 +0100
commit7574554b09eacb7aaaa8610d73fef6bd9d8a363f (patch)
tree3ce9140f61c77502b8a9ec765bc346eea9543960 /slack/config.py
parentf2fc8b771c5f7c93f6bbfd44ad42494eaed107a6 (diff)
downloadwee-slack-7574554b09eacb7aaaa8610d73fef6bd9d8a363f.tar.gz
Show disconnected status in input field
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/slack/config.py b/slack/config.py
index 8ee1e1c..6150ff7 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -158,6 +158,13 @@ class SlackConfigSectionColor:
def __init__(self, weechat_config: WeeChatConfig):
self._section = WeeChatSection(weechat_config, "color")
+ self.disconnected = WeeChatOption(
+ self._section,
+ "disconnected",
+ "text color for the disconnected text",
+ WeeChatColor("red"),
+ )
+
self.loading = WeeChatOption(
self._section,
"loading",