literate-dotfiles/image.org
Thomas Dehaeze bb14d8239c Change indentation of all blocks.
Use (setq org-src-preserve-indentation t) for Emacs.
2021-01-08 01:26:27 +01:00

23 lines
547 B
Org Mode

#+TITLE: SXIV Configuration
#+SETUPFILE: ./setup/org-setup-file.org
#+PROPERTY: header-args:conf :tangle ~/.config/sxiv/exec/key-handler
#+PROPERTY: header-args:conf+ :comments both :mkdirp yes
#+PROPERTY: header-args:conf+ :shebang "#!/usr/bin/env bash"
Press =C-x= to activate to key handler.
#+begin_src conf
while read file
do
case "$1" in
"C-d")
mv "$file" ~/.trash ;;
"C-r")
convert -rotate 90 "$file" "$file" ;;
"C-c")
echo -n "$file" | xsel -ib ;;
esac
done
#+end_src