diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-30 12:01:13 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-30 12:01:13 +0200 | 
| commit | 2d8fce238ba8352ac092a203c6edf1c8e3135acf (patch) | |
| tree | 86935bf49cb5231f0978164f0d5d8deda222260b /bin/common | |
| parent | 76a882f2b845fdba8d6e1e9feaebd3b2df37823a (diff) | |
cleanup on ytclipo
Diffstat (limited to 'bin/common')
| -rwxr-xr-x | bin/common/ytclipo | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common/ytclipo b/bin/common/ytclipo index 6cb2fc6..6b47991 100755 --- a/bin/common/ytclipo +++ b/bin/common/ytclipo @@ -1,8 +1,8 @@  #!/bin/sh  # argument ($1) -> clipboard -> stdin -test -z "${inp:=${1:-"$(xclip -sel c -o)"}}" \ -	&& inp="$(cat /dev/stdin)" +test -z "${inp:=${1:-"$(xclip -sel c -o)"}}" && +	inp="$(cat /dev/stdin)"  echo "inp: ${inp}" 1>&2  # take last link from clipboard  | 
