diff options
Diffstat (limited to 'dot')
-rwxr-xr-x | dot/local/bin/cutbuffer | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dot/local/bin/cutbuffer b/dot/local/bin/cutbuffer index 827ca8d..daf8e37 100755 --- a/dot/local/bin/cutbuffer +++ b/dot/local/bin/cutbuffer | |||
@@ -21,7 +21,8 @@ cutbuffer_pop() | |||
21 | f=$(find . -maxdepth 1 -type f -name "$nameglob" -print0 | sort -z -V -r | head -z -n 1 | xargs -0) | 21 | f=$(find . -maxdepth 1 -type f -name "$nameglob" -print0 | sort -z -V -r | head -z -n 1 | xargs -0) |
22 | 22 | ||
23 | xcb -s 0 < "$f" | 23 | xcb -s 0 < "$f" |
24 | xsel --input < "$f" | 24 | xsel --input --primary < "$f" |
25 | xsel --input --clipboard < "$f" | ||
25 | 26 | ||
26 | mkdir -p .popped | 27 | mkdir -p .popped |
27 | mv "$f" -t .popped | 28 | mv "$f" -t .popped |