aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_local/bin/executable_wqr
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:36 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:36 +0100
commit2b0930fbdea2565e01f451843dddeceef8e9cd42 (patch)
tree29e03c038580d92943ce3977461d4b92d45fe852 /dot_local/bin/executable_wqr
parent4260b23f59752ca9e88161f649285da3cce82982 (diff)
downloaddotfiles-2b0930fbdea2565e01f451843dddeceef8e9cd42.tar.gz
dotfiles-2b0930fbdea2565e01f451843dddeceef8e9cd42.tar.bz2
dotfiles-2b0930fbdea2565e01f451843dddeceef8e9cd42.zip
style(shell): apply shfmt (-i 2 -ci -s)
Diffstat (limited to 'dot_local/bin/executable_wqr')
-rwxr-xr-xdot_local/bin/executable_wqr6
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 -