pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added tag 0.3 for changeset 46d516fd2167
[surf.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
e61cf6a
..
245b952
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-9,7
+9,8
@@
static char *dldir = ".surf/dl";
static time_t sessiontime = 3600;
#define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
static time_t sessiontime = 3600;
#define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
- "xprop -id $1 -f $0 8s -set $0 `echo -n | dmenu || exit 0`", \
+ "prop=\"`dmenu < /dev/null`\" &&" \
+ "xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
p, winid, NULL } }
#define MODKEY GDK_CONTROL_MASK
static Key keys[] = {
p, winid, NULL } }
#define MODKEY GDK_CONTROL_MASK
static Key keys[] = {
@@
-42,4
+43,5
@@
static Item items[] = {
{ "Stop", stop, { 0 } },
{ "Paste URI", clipboard, { .b = TRUE } },
{ "Copy URI", clipboard, { .b = FALSE } },
{ "Stop", stop, { 0 } },
{ "Paste URI", clipboard, { .b = TRUE } },
{ "Copy URI", clipboard, { .b = FALSE } },
+ { "Download", download, { 0 } },
};
};