sxmo file only should open the selected file
Opening all following files only is meaningfull for pictures or videos but crazy when openning pdfs with zathura by example. Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
a035f747c8
commit
f0ca704812
1 changed files with 1 additions and 1 deletions
|
@ -49,6 +49,6 @@ while true; do
|
||||||
[ -d "$PICKED" ] && cd "$PICKED" && continue
|
[ -d "$PICKED" ] && cd "$PICKED" && continue
|
||||||
echo "$PICKED" | grep -E '^[*]$' && sxmo_open.sh -a ./*
|
echo "$PICKED" | grep -E '^[*]$' && sxmo_open.sh -a ./*
|
||||||
if [ -f "$PICKED" ] || [ "$PICKED" = "Open in terminal" ]; then
|
if [ -f "$PICKED" ] || [ "$PICKED" = "Open in terminal" ]; then
|
||||||
echo "$FILES" | sed -n -e "/$PICKED/,\$p" | tr '\n' '\0' | xargs -0 sxmo_open.sh -a
|
sxmo_open.sh -a "$PICKED"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue