aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-10-12 20:59:45 +0100
committerIan Fan <ianfan0@gmail.com>2018-10-14 13:33:12 +0100
commita29ee77411be3f3fe988617d91cc5bed603e3dcb (patch)
treea802fd48bb2ea28a8bf972b49ce1eec9f0d38447 /include/swaybar
parentf6f72cb949e2ab46510ba8bea63d1c6ece8a4756 (diff)
swaybar: send signal to status when hiding or showing bar
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/status_line.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/swaybar/status_line.h b/include/swaybar/status_line.h
index ca88b0c5..5e7e8771 100644
--- a/include/swaybar/status_line.h
+++ b/include/swaybar/status_line.h
@@ -22,6 +22,9 @@ struct status_line {
const char *text;
struct wl_list blocks; // i3bar_block::link
+ int stop_signal;
+ int cont_signal;
+
bool click_events;
bool clicked;
char *buffer;