A Simple X Image Viewer
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

24 行
535 B

  1. #!/bin/sh
  2. case "$1" in
  3. "C-c")
  4. echo -n "$2" | xsel -i ;;
  5. "C-e")
  6. urxvt -bg "#444" -fg "#eee" -sl 0 -title "$2" -e sh -c "exiv2 pr -q -pa '$2' | less" & ;;
  7. "C-g")
  8. gimp "$2" & ;;
  9. "C-comma")
  10. exec jpegtran -rotate 270 -copy all -outfile "$2" "$2" ;;
  11. "C-period")
  12. exec jpegtran -rotate 90 -copy all -outfile "$2" "$2" ;;
  13. "C-slash")
  14. exec jpegtran -rotate 180 -copy all -outfile "$2" "$2" ;;
  15. "C-less")
  16. exec mogrify -rotate -90 "$2" ;;
  17. "C-greater")
  18. exec mogrify -rotate +90 "$2" ;;
  19. "C-question")
  20. exec mogrify -rotate 180 "$2" ;;
  21. esac