mirror of
https://github.com/polybar/polybar.git
synced 2026-02-11 00:05:33 +00:00
On laptops and similar devices, RandR sometimes returns zero active screens, for example when closing a laptop's lid before it suspends. Don't restart in that case because the new polybar instance will see zero screens and quit. Instead, just ignore those kind of events.