From dc4ed364c14d979235a764c6336079340b5e503e Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Wed, 15 Sep 2021 02:10:41 -0400 Subject: cutbuffer push: use xsel to get selection instead of xcb; push saved selection to cutbuffers --- dot/local/bin/cutbuffer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dot') diff --git a/dot/local/bin/cutbuffer b/dot/local/bin/cutbuffer index 6921b02..827ca8d 100755 --- a/dot/local/bin/cutbuffer +++ b/dot/local/bin/cutbuffer @@ -11,7 +11,9 @@ cutbuffer_push() { now=$(date "$date_format") dest=$dest_basename.$now.$dest_extension - xcb -p 0 > "$dest" + xsel --output > "$dest" + xcb -r 1 + xcb -s 0 < "$dest" } cutbuffer_pop() -- cgit v1.2.3