literate-dotfiles/dotfiles/image.org

1.3 KiB

SXIV Configuration

Press C-x to activate to key handler.

  while read file
  do
      case "$1" in
          "C-d")
              mv "$file" ~/.trash ;;
          "C-r")
              convert -rotate 90 "$file" "$file" ;;
          "C-c")
              echo -n "$file" | xclip -selection clipboard ;;
          "C-w")
              nitrogen --save --set-zoom-fill "$file" ;;
      esac
  done