Summary Files Commits Branches @commit @diff @stats
path: root / icons_size.sh
diff options
context:
space:
mode:
Commita49df8ad9869a47a10138738b38fd0ffdb95e402 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-05-18 04:50:42 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-05-18 04:50:42 +0200
Files08a4eee2a5110415214e5f70f572c3c47e5c3b08 /icons_size.sh
goodwolf-1.0.0.tar
goodwolf-1.0.0.tar.gz
goodwolf-1.0.0.zip
Parentc3cadbabf760fd86a0b21bf1869e01653fa5dbbe (diff)
Parent1dbcade1d73cc2e45c61663cc97da17ddec7eb04 (diff)
Merge branch 'release-1.0' for v1.0.0 v1.0.0
1 files changed, 4 insertions, 0 deletions
-rwxr-xr-xicons_size.sh4
diff --git a/icons_size.sh b/icons_size.sh
new file mode 100755
index 0000000..29adf3a
--- /dev/null
+++ b/icons_size.sh
@@ -0,0 +1,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;'