Summary Files Commits Branches @commit @diff @stats
path: root / icons_size.sh
blob: 29adf3abbf554365edd047bfd313ba17fee75968 (plain) (blame)
1
2
3
4
#!/bin/sh
# Transforms an icon size from the Icon Theme Specification to rsvg-convert(1) options
#sed -r -e 's;^([^x]*)x([^@]*)$;-w \1 -h \2;' -e 's;^([^x]*)x([^@]*)@(.*)$;-w \1 -h \2 -z \3;'
sed -r 's;^([^x]*)x([^@]*)$;-w \1 -h \2;'