summaryrefslogtreecommitdiff
path: root/bin/guiscripts/clipswap
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-06 09:29:30 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-11-06 09:29:30 +0100
commit61d5bb429488794ac178a47fa73c38322aa14c04 (patch)
tree6cd7d3510f999701b5e2f7fe10b0f790cd868243 /bin/guiscripts/clipswap
parentaf9608a3a98f0ab4217da80b8d478810505801bc (diff)
parent694813e05187b5ccf144425c4bad6f5ab4f92234 (diff)
Merge branch 'main' of db:dotfiles
Diffstat (limited to 'bin/guiscripts/clipswap')
-rwxr-xr-xbin/guiscripts/clipswap4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/guiscripts/clipswap b/bin/guiscripts/clipswap
new file mode 100755
index 0000000..1cae135
--- /dev/null
+++ b/bin/guiscripts/clipswap
@@ -0,0 +1,4 @@
+#!/bin/sh
+paste="$(clipo)"
+clipo -p | clipp
+printf '%s' "$paste" | clipp -p