You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
323 B

#!/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