summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorCurtis McEnroe2018-10-28 02:44:09 -0400
committerCurtis McEnroe2018-10-28 02:44:09 -0400
commit2eaa36a30975d198d40b8f92c6b4add1eb111d31 (patch)
treed39803cd370c118def0e099725e0fa761bd5d40a /chat.h
parent36ec6cf258e9b5c3aa49cbfd3179a8714b52fee5 (diff)
Add notification with notify-send
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index 5502665..cb05124 100644
--- a/chat.h
+++ b/chat.h
@@ -30,10 +30,11 @@
 #define errx(...) do { uiHide(); errx(__VA_ARGS__); } while (0)
 
 struct {
-	bool verbose;
 	char *nick;
 	char *user;
 	char *join;
+	bool verbose;
+	bool notify;
 } self;
 
 void selfNick(const char *nick);