changeset: 286:4684b2cf4eab
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sat Dec 05 16:52:53 2009 +0000
files: dmenu.c
description:
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
diff -r eb052090d198 -r 4684b2cf4eab dmenu.c
--- a/dmenu.c Sat Nov 28 12:28:15 2009 +0000
+++ b/dmenu.c Sat Dec 05 16:52:53 2009 +0000
@@ -466,7 +466,7 @@
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)
Received on Sat Dec 05 2009 - 16:52:52 UTC
This archive was generated by hypermail 2.2.0 : Sat Dec 05 2009 - 17:00:08 UTC