summaryrefslogtreecommitdiffstats
path: root/swaybar/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r--swaybar/bar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 6894383d..f636f0c9 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -396,6 +396,10 @@ bool determine_bar_visibility(struct swaybar *bar, bool moving_layer) {
396 destroy_layer_surface(output); 396 destroy_layer_surface(output);
397 } 397 }
398 } 398 }
399 wlr_log(WLR_DEBUG, "Sending %s signal to status command",
400 visible ? "cont" : "stop");
401 kill(bar->status->pid,
402 visible ? bar->status->cont_signal : bar->status->stop_signal);
399 } 403 }
400 return visible; 404 return visible;
401} 405}