Re: [dwm] using slock from d

From: Antoni Grzymala <antoni_AT_chopin.edu.pl>
Date: Thu, 1 Feb 2007 11:00:15 +0100

Tako rzecze Tuncer Ayaz (w e-mailu datowanym 2007-02-01, 10:56):

> I'm not sure it's the same problem Alex Elide had
> back in October but I'm not able to start slock
> from neither dwm's internal keygrabber nor an
> external one. Actually IIRC it may be so that I
> managed to start it once with an external grabber
> with dwm also running after pressing the key combo
> several times but repeating the key combo all the
> time does nothing else the seemingly refresh or
> redraw the screen.
>
> I tried both with or without "exec "
> { Mod4Mask, XK_l, spawn, { .cmd = "exec slock" } }, \
> { Mod4Mask, XK_l, spawn, { .cmd = "slock" } }, \

Hi,

I had a similar problem with xtrlock some time ago, arg suggested that I
add a pause before the command. The following works for me:

{ MODKEY|ControlMask, XK_l, spawn, { .cmd = "sleep 1 && exec xtrlock" } }, \

Hope this helps,

[a]

-- 
. Antoni Grzymala - antoni (at) chopin.edu.pl -------------------.
| OpenPGP KeyID EB315583 available now from a keyserver near you |
| Fingerprint A819 6D2E D5EB D9E0 D2D9  7AF6 2FAF 4A11 EB31 5583 |
`----------------------------------------------------------------'
Received on Thu Feb 01 2007 - 11:00:22 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:35:42 UTC