summaryrefslogtreecommitdiff
path: root/bin/guiscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/guiscripts')
-rwxr-xr-xbin/guiscripts/clipp4
1 files changed, 2 insertions, 2 deletions
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