[sxiv] Add JPG conversion keybind

This commit is contained in:
Lucien Cartier-Tilet 2022-01-26 10:03:57 +01:00
parent 366ccd6e57
commit 8afc189c3d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -11,6 +11,11 @@ switch "$argv[1]"
rm $FILES rm $FILES
case "g" case "g"
gimp $FILES gimp $FILES
case "j"
for f in $FILES
set basename (echo $f | sed 's/\.[^.]*$//')
convert $f $basename".jpg"
end
case "r" case "r"
echo ROTATE echo ROTATE
echo $FILES echo $FILES