aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2009-12-05 16:52:53 +0000
committerAnselm R Garbe <anselm@garbe.us>2009-12-05 16:52:53 +0000
commit7082ba1e1050664309de707bbc5b7194a53ed5ac (patch)
tree0f1834563f47b9bde8ea43cfb3279a1cf3e49a30
parent569a1f925a7cf351e6ec3e38529f46a1d9becf3f (diff)
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
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index be9b41b..1f7abca 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -466,7 +466,7 @@ kpress(XKeyEvent * e) {
466 FILE *fp; 466 FILE *fp;
467 char *c; 467 char *c;
468 if(!(fp = (FILE*)popen("sselp", "r"))) 468 if(!(fp = (FILE*)popen("sselp", "r")))
469 fprintf(stderr, "dmenu: Could not popen sselp\n"); 469 eprint("dmenu: Could not popen sselp\n");
470 c = fgets(text + len, sizeof(text) - len, fp); 470 c = fgets(text + len, sizeof(text) - len, fp);
471 pclose(fp); 471 pclose(fp);
472 if(c == NULL) 472 if(c == NULL)