diff --git a/.local/bin/vis-clipboard b/.local/bin/vis-clipboard new file mode 100755 index 0000000..099bcea --- /dev/null +++ b/.local/bin/vis-clipboard @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$1" in + --copy) wl-copy -t TEXT 2>/dev/null;; + --paste) wl-paste --no-newline -t TEXT;; + *) printf "%s [--copy|--paste]\n" "$(basename "$0")" ;; +esac