From 77c535b3a1c4f833ee1497836afb9338cef195e2 Mon Sep 17 00:00:00 2001 From: Steven Saus Date: Tue, 15 Mar 2022 15:56:52 -0400 Subject: [PATCH] Added to clipboard function/file --- ss_to_clipboards.sh | 20 ++++++++++++++++++++ video-fzf-config | 5 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100755 ss_to_clipboards.sh diff --git a/ss_to_clipboards.sh b/ss_to_clipboards.sh new file mode 100755 index 0000000..e3fc807 --- /dev/null +++ b/ss_to_clipboards.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +############################################################################## +# +# to_clipboards +# By Steven Saus +# (c) 2020; licensed under the MIT license + + if [ "$#" -gt 0 ]; then + # concatenated arguments fed via a pipe. + MyData=$(printf %s "${@}") + else + MyData=$(