summaryrefslogtreecommitdiffstats
path: root/dmenu_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu_path.c')
-rw-r--r--dmenu_path.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dmenu_path.c b/dmenu_path.c
index 8df2667..407477a 100644
--- a/dmenu_path.c
+++ b/dmenu_path.c
@@ -7,8 +7,6 @@
#include <unistd.h>
#include <sys/stat.h>
-#define CACHE ".dmenu_cache"
-
static void die(const char *s);
static int qstrcmp(const void *a, const void *b);
static void scan(void);
@@ -26,7 +24,7 @@ main(void) {
if(chdir(home) < 0)
die("chdir failed");
if(uptodate()) {
- execlp("cat", "cat", CACHE, NULL);
+ execl("/bin/cat", "cat", CACHE, NULL);
die("exec failed");
}
scan();
6584c48c395293d4e5d2eb0af0?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Christoph Lohmann 1-1/+0 2015-01-19Add some description for the plumb feature.Gravatar Christoph Lohmann 1-0/+3 2015-01-19Add plumbing functionality.Gravatar Christoph Lohmann 2-2/+28 2015-01-18Add a comment about how the styles are iterated.Gravatar Christoph Lohmann 1-0/+4 Thanks quing for noticing. 2015-01-18My CMD was too short. :OGravatar Christoph Lohmann 1-1/+1 Thanks Carlos Torres for mentioning this. 2015-01-17Add the manpage changes for the disk cache support.Gravatar Christoph Lohmann 1-1/+7 2015-01-17Adding disk cache support for soup.Gravatar Christoph Lohmann 2-9/+40 This is a merge of the patch of Ben Woolley <tautolog@gmail.com> 2015-01-17Fix extra newline, and add -g where other switches are forwarded.Gravatar Ben Woolley 1-1/+3 Signed-off-by: Christoph Lohmann <20h@r-36.net> 2015-01-17Newer libc want _DEFAULT_SOURCE.Gravatar Christoph Lohmann 1-1/+1 2015-01-17Major styles update.Gravatar Christoph Lohmann 3-11/+84 In config.h there is now some styles array to apply site-specific styles. This can be toggled using the -mM flags. If a stylefile is manually specified, then this will overwrite everything. 2015-01-02Fix a typo in surf manual.Gravatar Jakukyo Friel 1-1/+1 `Ctrl-/` displays incorrectly in `man surf` on my machine. A patch is attached. (You also access it here: https://github.com/weakish/surf/commit/07e97eccedd96eabf14b2fbf77de75ec1b594d97) ---- surf.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Christoph Lohmann <20h@r-36.net> 2014-09-28Minor style change.Gravatar Christoph Lohmann 1-1/+1 2014-09-28Make »Copy image address« work.Gravatar Christoph Lohmann 1-3/+10 Thanks yui@blekksprut.net for the patch! 2014-08-07Mention xdotool in SEE ALSO too.Gravatar Christoph Lohmann 1-1/+2 2014-08-07Fix the manpage about xid.Gravatar Christoph Lohmann 1-1/+3 Something was missing from this one sentence. Now it is complete.