diff options
Diffstat (limited to 'dot_local/bin/executable_wqr')
| -rwxr-xr-x | dot_local/bin/executable_wqr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dot_local/bin/executable_wqr b/dot_local/bin/executable_wqr index 254f992..f878fdf 100755 --- a/dot_local/bin/executable_wqr +++ b/dot_local/bin/executable_wqr @@ -1,11 +1,11 @@ #!/usr/bin/env sh if [ -z "$1" ]; then - text=$(wl-paste) + text=$(wl-paste) elif [ "$1" = "-" ]; then - read -r text + read -r text else - text="$1" + text="$1" fi printf '%s' "$text" | qrencode -t PNG -o - | imv - |
