diff options
author | Raymaekers Luca <luca@spacehb.net> | 2025-01-09 16:51:59 +0100 |
---|---|---|
committer | Raymaekers Luca <luca@spacehb.net> | 2025-01-09 16:51:59 +0100 |
commit | cc216ca760a6b22c8b8041f525859f4201a52d1f (patch) | |
tree | 7c1ef18d28e226c40d8d0afa97e3a83d3a2c9645 /bin/guiscripts/clipp | |
parent | 112449dd19eaae6769ef95a70b3e52234256400c (diff) |
checkpoint
Diffstat (limited to 'bin/guiscripts/clipp')
-rwxr-xr-x | bin/guiscripts/clipp | 4 |
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 |