this is only a temporary workaround, the command executed by -p must be configurable...
authorAnselm R Garbe <anselm@garbe.us>
Sat, 5 Dec 2009 16:52:53 +0000 (16:52 +0000)
committerAnselm R Garbe <anselm@garbe.us>
Sat, 5 Dec 2009 16:52:53 +0000 (16:52 +0000)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index be9b41b..1f7abca 100644 (file)
--- 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)