ErikReider / SwayNotificationCenter

A simple GTK based notification daemon for SwayWM
GNU General Public License v3.0
1.15k stars 59 forks source link

flush stdout after subscription events #329

Closed capezotte closed 7 months ago

capezotte commented 8 months ago

Otherwise, trying to pipe its output into another command (say, jq --unbuffered) will make it buffer up events instead of feeding information in realtime.

Bonus: remove second printf.