Load dir after hovered image

This commit is contained in:
Arun Prakash Jana 2019-11-23 10:37:46 +05:30
parent c70aaf2076
commit 9b37c9edb1
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -9,7 +9,7 @@
if command -v sxiv >/dev/null 2>&1; then
if ! [ -z "$1" ]; then
if [ -f "$1" ]; then
sxiv -q "$PWD"
sxiv -q "$1" "$PWD"
elif [ -d "$1" ] || [ -h "$1" ]; then
sxiv -qt "$1"
fi