tconfig.h: avoid potential page title problems due to sed wildcard greed - surf… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit e93b97145f93c7ba23f17b6618cd97f7ea23a92e | |
parent 46d2270f12175cd474f0d45ca0111edcafba768f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 25 Sep 2020 16:46:01 +0200 | |
config.h: avoid potential page title problems due to sed wildcard greed | |
Diffstat: | |
M config.h | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/config.h b/config.h | |
t@@ -124,7 +124,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CA… | |
.v = (const char *[]){ "st", "-e", "/bin/sh", "-c", "-x", \ | |
"bookmark \"$(echo $(xprop -id $0 $1) | cut -d '\"' -f2)\" " \ | |
"\"$(echo $(xprop -id $0 _NET_WM_NAME) | cut -d '\"' -f2 " \ | |
- "| sed 's,.* | ,,')\" ",\ | |
+ "| cut -d ' | ' -f3- ",\ | |
winid, r, NULL \ | |
} \ | |
} |