Authentication-Results: mail-b.sr.ht; dkim=pass header.d=emersion.fr header.i=@emersion.fr Received: from mail-40136.proton.ch (mail-40136.proton.ch [185.70.40.136]) by mail-b.sr.ht (Postfix) with ESMTPS id 96D8611EF81 for <~emersion/public-inbox@lists.sr.ht>; Wed, 11 Jan 2023 16:28:52 +0000 (UTC) Date: Wed, 11 Jan 2023 16:28:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1673454531; x=1673713731; bh=nKoswYQSsr2GSAdNX/Dr37G9bso1GQ36+VV/KxyiIJg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=BhahKcTWhwprIowTZtfwfXuw1USm0TJXs9VBTu7MIVxSX2ifG1L/PtP4eJz4NBhMp 7xjtmWpGLTijR/EPb262JxkK08yl0V+xcSlNeOUCSULOznIMxENTBhjdPA9gsp+JBN ocoRS3AHe4hi7hTWkTSgw4YJuWx2V/mjZclwNWjmRm1lLNd4FSh6DCGaWRXuO/92fN OuavaDYbS9MqCQA8qc004V0zzCHGuOFEMKNiwROitjsqfklE/0tskpesg/ClBh3OVk cV2tg9msKNKcJ0bNy0/bOT9vX/n9Wn+5DDVGTpu+d4fAK0kYY+xKpeTJ1zJKkC22WJ 9r06LLqf8Rf+Q== To: mauro3@runbox.com From: Simon Ser Cc: ~emersion/public-inbox@lists.sr.ht Subject: Re: chayang not working as ret-code is always 0 Message-ID: In-Reply-To: <878ri9i45x.fsf@rmm6prod02.runbox.com> References: <878ri9i45x.fsf@rmm6prod02.runbox.com> Feedback-ID: 1358184:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wednesday, January 11th, 2023 at 14:29, mauro3@runbox.com wrote: > I don't quite get chayang to work. As far as I can tell it seems to > build fine (clone repo, then build steps as in README). When running it > from the command line it dims the screen just fine and, as expected, > either exits after the timeout or when I type/move the mouse. However, > my understanding is that the ret-code in the latter case should be > non-zero but it is zero. Thus `chayang && swaylock`` will still lock on > pressing keys/moving the mouse to abort. Sorry, this was a bug. Fixed in commit 03f80d8c6b21.