Whitespace changes.

This commit is contained in:
James Patrick 2020-12-08 22:03:39 -05:00
parent aee151dbb9
commit 06389a76e2

View File

@ -105,31 +105,31 @@ EOF
} }
qr(){ qr(){
local file local file
file="$(parse-file "$1")" file="$(parse-file "$1")"
cat $file | cat $file |
qrencode -o - \ qrencode -o - \
--size=25 \ --size=25 \
--background=161720 \ --background=161720 \
--foreground=AAB5C6 | --foreground=AAB5C6 |
feh - feh -
} }
delete(){ delete(){
local file local file
file="$(parse-file "$1")" file="$(parse-file "$1")"
rm $file rm $file
} }
preview(){ preview(){
local file local file
file="$(parse-file "$1")" file="$(parse-file "$1")"
if [ -f "$1" ]; then if [ -f "$1" ]; then
kitty +kitten icat --silent --stdin=no "$1" kitty +kitten icat --silent --stdin=no "$1"
return return
fi fi
bat -l bash --color always -pp "$file" bat -l bash --color always -pp "$file"
} }