commit 98b824a206b8ad22d245a0754100175c06617649
parent c554a60588eaa5f86953d46112487260901a0348
Author: Cem Keylan <cem@ckyln.com>
Date: Sun, 24 Nov 2019 10:20:29 +0300
remove newline after getting url
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h
@@ -158,7 +158,7 @@ static char *linkselect_newtab [] = { "/bin/sh", "-c",
winid, NULL
};
static char *yanklink [] = { "/bin/sh", "-c",
- "surf_linkselect.sh $0 'Yank Link to clipboard' | xclip -selection clipboard",
+ "surf_linkselect.sh $0 'Yank Link to clipboard' | tr -d '\n' | xclip -selection clipboard",
winid, NULL
};
static char *editscreen[] = { "/bin/sh", "-c", "edit_screen.sh", NULL };