Introduction
Introduction Statistics Contact Development Disclaimer Help
tconfig.h: fix macros for external processes - surf - [fork] customized build o…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 46d2270f12175cd474f0d45ca0111edcafba768f
parent d6c0c879c5b7bf826fe962c6d21ab3c01b514465
Author: Anders Damsgaard <[email protected]>
Date: Fri, 25 Sep 2020 16:34:52 +0200
config.h: fix macros for external processes
Diffstat:
M config.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/config.h b/config.h
t@@ -112,7 +112,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CA…
/* VIDEOPLAYTABBED(URI) */
#define VIDEOPLAYTABBED(u) {\
- .v = (const char *[]){ "/bin/sh", "-c", \
+ .v = (const char *[]){ "/bin/sh", "-c", "-x", \
"mpv --really-quiet \"$(echo $(xprop -id $0 $1 | \
cut -d '\"' -f2) )\"",\
winid, u, NULL \
t@@ -121,10 +121,10 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_…
/* BOOKMARK(URI) */
#define BOOKMARKURI(r) {\
- .v = (const char *[]){ "st", "-e", "/bin/sh", "-c", \
+ .v = (const char *[]){ "st", "-e", "/bin/sh", "-c", "-x", \
"bookmark \"$(echo $(xprop -id $0 $1) | cut -d '\"' -f2)\" " \
- "\"$(echo $(xprop -id $0 $1) | cut -d '\"' -f2 " \
- "| sed 's/.*https*:\\/\\/\\(www\\.\\)\\?//')\" ",\
+ "\"$(echo $(xprop -id $0 _NET_WM_NAME) | cut -d '\"' -f2 " \
+ "| sed 's,.* | ,,')\" ",\
winid, r, NULL \
} \
}
You are viewing proxied material from mx1.adamsgaard.dk. 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.