[sxiv] Add JPG conversion keybind
This commit is contained in:
parent
366ccd6e57
commit
8afc189c3d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user