Whitespace changes.
This commit is contained in:
parent
aee151dbb9
commit
06389a76e2
|
@ -105,31 +105,31 @@ EOF
|
|||
}
|
||||
|
||||
qr(){
|
||||
local file
|
||||
local file
|
||||
file="$(parse-file "$1")"
|
||||
cat $file |
|
||||
qrencode -o - \
|
||||
--size=25 \
|
||||
--background=161720 \
|
||||
--foreground=AAB5C6 |
|
||||
feh -
|
||||
feh -
|
||||
}
|
||||
|
||||
delete(){
|
||||
local file
|
||||
local file
|
||||
file="$(parse-file "$1")"
|
||||
rm $file
|
||||
}
|
||||
|
||||
preview(){
|
||||
local file
|
||||
local file
|
||||
file="$(parse-file "$1")"
|
||||
|
||||
if [ -f "$1" ]; then
|
||||
kitty +kitten icat --silent --stdin=no "$1"
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
bat -l bash --color always -pp "$file"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user