literate-dotfiles/image.org

39 lines
1.2 KiB
Org Mode
Raw Normal View History

2019-12-30 17:21:22 +01:00
#+TITLE: SXIV Configuration
:DRAWER:
2020-01-11 22:04:28 +01:00
#+STARTUP: overview
#+LANGUAGE: en
#+EMAIL: dehaeze.thomas@gmail.com
#+AUTHOR: Dehaeze Thomas
#+HTML_LINK_HOME: ./index.html
#+HTML_LINK_UP: ./index.html
2020-01-11 22:24:51 +01:00
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="./js/bootstrap.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="./js/readtheorg.js"></script>
2020-01-11 22:04:28 +01:00
2020-11-03 11:34:12 +01:00
#+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"
2019-12-30 17:21:22 +01:00
:END:
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 ;;
2019-12-30 17:21:22 +01:00
esac
done
#+end_src