commit d8cdad7e779c335d7413241f78f63456d60eab5c
parent 76ffc32eb635e29e6bd88f45793f80baa3618abb
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 21 Mar 2019 15:21:47 +0100
Fix clipboard macro
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/.config/newsboat/config b/links/.config/newsboat/config
@@ -65,5 +65,5 @@ macro v set browser "setsid nohup mpv >/dev/null 2>&1 "; open-in-browser ; toggl
macro w set browser "w3m"; open-in-browser ; toggle-article-read ; set browser open
macro r set browser "rtv"; open-in-browser ; toggle-article-read ; set browser open
# macro p set browser "dmenuhandler"; open-in-browser ; set browser xdg-open
-macro y set browser "xsel -selection clipboard -b <<<" ; open-in-browser ; set browser xdg-open
+macro y set browser "echo -n %u | xclip -selection clipboard" ; open-in-browser ; set browser xdg-open
macro p set browser "wkhtmltopdf %u out.pdf && mv out.pdf ~/tmp/$(basename $(mktemp)).pdf" ; open-in-browser ; set browser xdg-open