[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Fri, 4 Jun 2010 13:45:23 +0000 (UTC)

changeset: 540:e3abcd5a5c35
tag: tip
user: Andrew Antle <andrew dot antle at gmail dot com>
date: Fri Jun 04 09:45:19 2010 -0400
files: surf.suckless.org/files/bmarks_sprop.md
description:
Updated from nibble, pancake, and Peter's bmarks.


diff -r 2767af75662c -r e3abcd5a5c35 surf.suckless.org/files/bmarks_sprop.md
--- a/surf.suckless.org/files/bmarks_sprop.md Fri Jun 04 11:53:46 2010 +0100
+++ b/surf.suckless.org/files/bmarks_sprop.md Fri Jun 04 09:45:19 2010 -0400
_AT_@ -3,7 +3,23 @@
 
 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
 -----------
Received on Fri Jun 04 2010 - 15:45:23 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:31:17 CEST