瀏覽代碼

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

master
Anselm R Garbe 14 年之前
父節點
當前提交
7082ba1e10
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      dmenu.c

+ 1
- 1
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)


Loading…
取消
儲存