From cc216ca760a6b22c8b8041f525859f4201a52d1f Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 9 Jan 2025 16:51:59 +0100 Subject: checkpoint --- bin/guiscripts/clipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/guiscripts') diff --git a/bin/guiscripts/clipp b/bin/guiscripts/clipp index c3ee8f2..f55d4d3 100755 --- a/bin/guiscripts/clipp +++ b/bin/guiscripts/clipp @@ -1,6 +1,6 @@ #!/bin/sh -[ "$1" = "-p" ] && i='primary' j='-p' +[ "$1" = "-p" ] && i='primary' if [ "$WAYLAND_DISPLAY" ] then wl-copy -n $i -else xsel ${j:--b} +else xclip -selection ${i:-clipboard} fi -- cgit v1.2.3