From f5526c4cfbe0803212050dc53a487e5c3b38bd4b Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Wed, 14 Feb 2024 02:23:53 +0100 Subject: Update scripts --- bin/extra/swapclip | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/extra/swapclip (limited to 'bin/extra/swapclip') diff --git a/bin/extra/swapclip b/bin/extra/swapclip new file mode 100755 index 0000000..25b9857 --- /dev/null +++ b/bin/extra/swapclip @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$WAYLAND_DISPLAY" ] +then + paste="$(wl-paste)" + wl-paste -p | wl-copy -n + printf "%s" "$paste" | wl-copy -p -n +fi -- cgit v1.2.3