My build of nnn with minor changes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

21 lignes
487 B

  1. #!/usr/bin/env sh
  2. # Description: Open images in hovered directory and thumbnails
  3. # open hovered image in sxiv and browse other images in the directory
  4. #
  5. # Shell: POSIX compliant
  6. # Author: Arun Prakash Jana
  7. if command -v sxiv >/dev/null 2>&1; then
  8. if ! [ -z "$1" ]; then
  9. if [ -f "$1" ]; then
  10. sxiv -q "$1" "$PWD"
  11. elif [ -d "$1" ] || [ -h "$1" ]; then
  12. sxiv -qt "$1"
  13. fi
  14. fi
  15. else
  16. echo "sxiv missing"
  17. read -r _
  18. fi