Index | Thread | Search

From:
Alexandre Ratchov <alex@caoua.org>
Subject:
Re: x11/i3status: Recover from sndiod restart
To:
Robert Nagy <robert@openbsd.org>, ports@openbsd.org, ratchov@openbsd.org
Date:
Mon, 31 Mar 2025 07:15:02 +0200

Download raw body.

Thread
On Sat, Mar 29, 2025 at 07:50:40PM -0500, Matthew Martin wrote:
> On occasion I restart sndiod which causes i3status to stop reporting the
> volume level. The below patch resets initialized after a disconnect so
> on the next poll i3status will attempt to reconnect to the new sndiod.
> I opted against resetting initialized in cleanup so a failure in init
> won't be retried.
> 

Works for me. With this no more need to hit Mod+Shift+R after sndiod
is restarted