tconfig.h: avoid potential page title problems due to sed wildcard greed - surf - [fork] customized build of surf, the suckless webkit browser (HTM) git clone git://src.adamsgaard.dk/surf (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit e93b97145f93c7ba23f17b6618cd97f7ea23a92e (DIR) parent 46d2270f12175cd474f0d45ca0111edcafba768f (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> 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(-) --- (DIR) diff --git a/config.h b/config.h t@@ -124,7 +124,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE | .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 \ } \ }