parent
cca00e0f48
commit
d908d79b67
|
@ -78,7 +78,7 @@ help () {
|
|||
|
||||
#get all input except first argument, if first argument has a '-' and save in ARGS
|
||||
#ARGS="$( echo "$@" | sed 's/^-.* //g' )"
|
||||
ARGS="$(echo "$2")"
|
||||
ARGS="$2"
|
||||
|
||||
echo "ARGS = $ARGS"
|
||||
|
||||
|
|
|
@ -21,3 +21,4 @@ shell-color-scripts
|
|||
lf-sixel-git
|
||||
swhkd-git
|
||||
nerd-fonts-mononoki
|
||||
autotiling
|
||||
|
|
|
@ -87,6 +87,7 @@ handleFile() {
|
|||
application/zip) unzip "$1" -d "$TMPDIR" && readDir "$TMPDIR" ;;
|
||||
application/*rar) 7z x "$1" -o"$TMPDIR" && readDir "$TMPDIR" ;;
|
||||
application/gzip) tar xzvf "$1" --directory="$TMPDIR" && readDir "$TMPDIR" ;;
|
||||
application/x-7z-compressed) 7z x "$1" -o"$TMPDIR" && readDir "$TMPDIR";;
|
||||
application/pdf) pdftoppm -jpeg "$1" "$TMPDIR"/page && readDir "$TMPDIR" ;;
|
||||
*) help ;;
|
||||
|
||||
|
|
Loading…
Reference in New Issue