Tako rzecze Bill Puschmann (w e-mailu datowanym 2006-11-30, 15:34):
> Perhaps some sort of shell magic to get all pipes correct? I'm just not
> sure.
OK, here goes my solution, rather similar to the other ones, but you may
or may not like it more (script attached).
I run the script without arguments first thing in my .xinitrc (or XDM
session file):
dwm-update-proglist.sh &
And I run it with the --launch argument from a shortcut in dwm:
{ MODKEY, XK_p, spawn, { .cmd = "exec dwm-update-proglist.sh --launch" } }
That way, if there's no proglist, it get's generated, if there's one it
just uses it.
You may also like to have the list updated via cron, or manually, or
after installing/deinstalling software, whatever.
Hope this is useful.
[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 | `----------------------------------------------------------------'
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:33:05 UTC