Re: [hackers] [slock] add option to run command after screen is locked

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Sat, 26 Dec 2015 17:24:49 +0100

> Heyho,

Hi Markus,

> + if (argc >= 2 && fork() == 0) {
> + if (dpy)
> + close(ConnectionNumber(dpy));
> + execvp(argv[1], argv+1);
> + die("surf: execvp %s failed: %s\n", argv[1], strerror(errno));
                     ^--- but that's slock here ;)
> + }
> +
Received on Sat Dec 26 2015 - 17:24:49 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 26 2015 - 17:36:14 CET