A Simple X Image Viewer
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
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