sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4352b7d8a71dd82c818a63f95181539821425a00
parent b701df06041340256579a0e17d6155f2ddbffbdf
Author: Andrew Antle <andrew dot antle at gmail dot com>
Date:   Fri,  4 Jun 2010 09:45:19 -0400

Updated from nibble, pancake, and Peter's bmarks.
Diffstat:
Msurf.suckless.org/files/bmarks_sprop.md | 18+++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/surf.suckless.org/files/bmarks_sprop.md b/surf.suckless.org/files/bmarks_sprop.md @@ -3,7 +3,23 @@ BMARKS SPROP Description ----------- -Peter, pancake, and nibble's bmarks script, clobbered to work with sprop(1). +Peter, pancake, and nibble's [bmarks](bmarks) script, clobbered to work with +[sprop](http://tools.suckless.org/sprop). + +Installation +------------ +Replace the default setprop with this one: + + #define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", "spurf.sh $0 $1", \ + winid, p, NULL } } + +Modify `keys[]`: + + { MODKEY, GDK_b, spawn, SETPROP("_SURF_BMARK") }, + { MODKEY|GDK_SHIFT_MASK, GDK_g, spawn, SETPROP("_SURF_URI_RAW") }, + { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI") }, + { MODKEY, GDK_slash, spawn, SETPROP("_SURF_FIND") }, + Development -----------