summaryrefslogtreecommitdiff
path: root/bin/guiscripts/cledit
diff options
context:
space:
mode:
Diffstat (limited to 'bin/guiscripts/cledit')
-rwxr-xr-xbin/guiscripts/cledit5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/guiscripts/cledit b/bin/guiscripts/cledit
new file mode 100755
index 0000000..1011eeb
--- /dev/null
+++ b/bin/guiscripts/cledit
@@ -0,0 +1,5 @@
+#!/bin/sh
+tmp="$(mktemp)"
+wl-paste > "$tmp"
+viedit "$tmp" && wl-copy -n < "$tmp"
+shred -uz "$tmp"