diff options
Diffstat (limited to 'dot/local/bin/cutbuffer')
-rwxr-xr-x | dot/local/bin/cutbuffer | 4 |
1 files changed, 3 insertions, 1 deletions
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() | |||
11 | { | 11 | { |
12 | now=$(date "$date_format") | 12 | now=$(date "$date_format") |
13 | dest=$dest_basename.$now.$dest_extension | 13 | dest=$dest_basename.$now.$dest_extension |
14 | xcb -p 0 > "$dest" | 14 | xsel --output > "$dest" |
15 | xcb -r 1 | ||
16 | xcb -s 0 < "$dest" | ||
15 | } | 17 | } |
16 | 18 | ||
17 | cutbuffer_pop() | 19 | cutbuffer_pop() |