commit 0726ca139685c8be7271bde3c977da749f693975
parent b660f7bc18c54133bd3b6578200b107f07c1f7c8
Author: Paras Kumar Langyan <paras.klangyan@gmail.com>
Date: Wed, 8 Feb 2023 20:18:22 +0530
Update: xprop command updated
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/surf.suckless.org/patches/web-search/index.md b/surf.suckless.org/patches/web-search/index.md
@@ -10,3 +10,4 @@ search engine and keybinding can be configured.
## Author
* Bryon Meinka <bryon.meinka@gmail.com>
+* Paras Kumar Langyan <paras.klangyan@gmail.com>
diff --git a/surf.suckless.org/patches/web-search/surf-websearch-20190510-d068a38.diff b/surf.suckless.org/patches/web-search/surf-websearch-20190510-d068a38.diff
@@ -26,7 +26,7 @@ index 34265f6..69657bf 100644
+#define SEARCH() { \
+ .v = (const char *[]){ "/bin/sh", "-c", \
-+ "xprop -id $1 -f $2 8s -set $2 \"" \
++ "xprop -id $1 -f $2 8u -set $2 \"" \
+ "$(dmenu -p Search: -w $1 < /dev/null)\"", \
+ "surf-search", winid, "_SURF_SEARCH", NULL \
+ } \