Adds sxiv settings
This commit is contained in:
parent
7b81af7679
commit
713f9df659
1 changed files with 18 additions and 0 deletions
18
sxiv/exec/key-handler
Executable file
18
sxiv/exec/key-handler
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
while read file
|
||||||
|
do
|
||||||
|
case "$1" in
|
||||||
|
"greater" )
|
||||||
|
convert -rotate 90 "$file" "$file" ;;
|
||||||
|
"less")
|
||||||
|
convert -rotate 270 "$file" "$file" ;;
|
||||||
|
"y")
|
||||||
|
echo -n "$file" | xclip -selection clipboard ;;
|
||||||
|
"g")
|
||||||
|
gimp "$file" & disown ;;
|
||||||
|
"G")
|
||||||
|
optirun gimp "$file" & disown ;;
|
||||||
|
* )
|
||||||
|
notify-send "$1"
|
||||||
|
esac
|
||||||
|
done
|
Loading…
Add table
Add a link
Reference in a new issue