[hackers] [surf] Embed dmenu into the surf window by default || Quentin Rameau

From: <git_AT_suckless.org>
Date: Mon, 8 May 2017 14:08:23 +0200 (CEST)

commit b8b0c050354d7961edeec74e644f09a3e2887074
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Mon May 8 10:20:28 2017 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Mon May 8 11:33:59 2017 +0200

    Embed dmenu into the surf window by default

diff --git a/config.def.h b/config.def.h
index f858f5a..d90fc8d 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -55,7 +55,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
         .v = (const char *[]){ "/bin/sh", "-c", \
              "prop=\"$(printf '%b' \"$(xprop -id $1 $2 " \
              "| sed \"s/^$2(STRING) = //;s/^\\\"\\(.*\\)\\\"$/\\1/\")\" " \
- "| dmenu)\" && xprop -id $1 -f $3 8s -set $3 \"$prop\"", \
+ "| dmenu -w $1)\" && xprop -id $1 -f $3 8s -set $3 \"$prop\"", \
              "surf-setprop", winid, r, s, NULL \
         } \
 }
Received on Mon May 08 2017 - 14:08:23 CEST

This archive was generated by hypermail 2.3.0 : Mon May 08 2017 - 14:12:36 CEST