summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/guiscripts/clipo4
-rwxr-xr-xbin/guiscripts/clipp4
2 files changed, 8 insertions, 0 deletions
diff --git a/bin/guiscripts/clipo b/bin/guiscripts/clipo
new file mode 100755
index 0000000..e3ae714
--- /dev/null
+++ b/bin/guiscripts/clipo
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ "$WAYLAND_DISPLAY" ] &&
+ wl-paste -n ||
+ xclip -o -selection clipboard -r
diff --git a/bin/guiscripts/clipp b/bin/guiscripts/clipp
new file mode 100755
index 0000000..538f69b
--- /dev/null
+++ b/bin/guiscripts/clipp
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ "$WAYLAND_DISPLAY" ] &&
+ wl-copy -n ||
+ xclip -selection clipboard -r