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