commit 7082ba1e1050664309de707bbc5b7194a53ed5ac
parent 569a1f925a7cf351e6ec3e38529f46a1d9becf3f
Author: Anselm R Garbe <[email protected]>
Date: Sat, 5 Dec 2009 16:52:53 +0000
this is only a temporary workaround, the command executed by -p must be configurable through some switch, that was the initial idea, just using sselp is too limited, I'll look into the other issues soon
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dmenu.c b/dmenu.c
@@ -466,7 +466,7 @@ kpress(XKeyEvent * e) {
FILE *fp;
char *c;
if(!(fp = (FILE*)popen("sselp", "r")))
- fprintf(stderr, "dmenu: Could not popen sselp\n");
+ eprint("dmenu: Could not popen sselp\n");
c = fgets(text + len, sizeof(text) - len, fp);
pclose(fp);
if(c == NULL)