Introduction
Introduction Statistics Contact Development Disclaimer Help
changing SETPROP()-macro - surf - surf browser, a WebKit based browser
git clone git://git.suckless.org/surf
Log
Files
Refs
README
LICENSE
---
commit c00ee3eb78706a5efdcebcba8569630bdfb214f7
parent c30a95c635bbd6a737096067e000993582ff75cf
Author: Enno Boland (tox) <[email protected]>
Date: Fri, 30 Oct 2009 13:38:14 +0100
changing SETPROP()-macro
Diffstat:
M config.def.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git 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", \
- "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[] = {
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.