dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/sxiv/exec/key-handler

15 lines
378 B
Bash
Executable File

#!/usr/bin/env bash
while read -r file
do
case "$1" in
"b") setbg "$file" & ;;
"m") mv "$file" "$HOME/img/rand" ;;
"r") convert -rotate 90 "$file" "$file" ;;
"R") convert -rotate -90 "$file" "$file" ;;
"f") convert -flop "$file" "$file" ;;
"y") printf %s "$file" | xclip -selection clipboard & ;;
"d") rm "$file" ;;
"g") krita "$file" & ;;
esac
done