39 lines
1.2 KiB
Org Mode
39 lines
1.2 KiB
Org Mode
#+TITLE: SXIV Configuration
|
|
:DRAWER:
|
|
#+STARTUP: overview
|
|
|
|
#+LANGUAGE: en
|
|
#+EMAIL: dehaeze.thomas@gmail.com
|
|
#+AUTHOR: Dehaeze Thomas
|
|
|
|
#+HTML_LINK_HOME: ./index.html
|
|
#+HTML_LINK_UP: ./index.html
|
|
|
|
#+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>
|
|
|
|
#+PROPERTY: header-args: :tangle ~/.config/sxiv/exec/key-handler
|
|
#+PROPERTY: header-args+: :comments both :mkdirp yes
|
|
#+PROPERTY: header-args+: :shebang "#!/usr/bin/env bash"
|
|
: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 ;;
|
|
esac
|
|
done
|
|
#+end_src
|