Re: [dev] [ANNOUNCE] slock-1.3

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Fri, 12 Feb 2016 16:03:01 -0800

On Sat, Feb 13, 2016 at 12:54:26AM +0100, hiro wrote:
> how come you can't just run slock from a shell script instead?

I haven't looked at the code, but if I had to guess, it's probably
because of race conditions. If you ran the program in a shell script,
you'd have to query some X11 program to verify the screen was locked or
do something like "sleep" and hope the screen is actually locked. With
the functionality inside slock itself, you don't need to worry about
these things.

Eric
Received on Sat Feb 13 2016 - 01:03:01 CET

This archive was generated by hypermail 2.3.0 : Sat Feb 13 2016 - 01:12:10 CET