diff options
-rw-r--r-- | swaybar/tray/item.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/swaybar/tray/item.c b/swaybar/tray/item.c index 6d4b17bf..0cb5ee9d 100644 --- a/swaybar/tray/item.c +++ b/swaybar/tray/item.c @@ -466,6 +466,11 @@ uint32_t render_sni(cairo_t *cairo, struct swaybar_output *output, double *x, sni->target_size = target_size; } + // Passive + if (sni->status && sni->status[0] == 'P') { + return 0; + } + int icon_size; cairo_surface_t *icon; if (sni->icon) { |