diff --git a/icons/actions/16/view-qrcode.svg b/icons/actions/16/view-qrcode.svg new file mode 100644 --- /dev/null +++ b/icons/actions/16/view-qrcode.svg @@ -0,0 +1,8 @@ + + + + diff --git a/icons/actions/22/view-qrcode.svg b/icons/actions/22/view-qrcode.svg new file mode 100644 --- /dev/null +++ b/icons/actions/22/view-qrcode.svg @@ -0,0 +1,8 @@ + + + + diff --git a/icons/actions/32/view-qrcode.svg b/icons/actions/32/view-qrcode.svg new file mode 100644 --- /dev/null +++ b/icons/actions/32/view-qrcode.svg @@ -0,0 +1,12 @@ + + + + + diff --git a/optimize-svg.sh b/optimize-svg.sh old mode 100644 new mode 100755 --- a/optimize-svg.sh +++ b/optimize-svg.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export alias inkscape="flatpak run org.inkscape.Inkscape" + if ! command -v svgo >/dev/null then echo "Please install svgo: npm install svgo" @@ -24,7 +26,7 @@ fi } -find . -name "*.svg" -size 4k -print0 | while IFS= read -r -d '' file +find . -name "view-qrcode.svg" -print0 | while IFS= read -r -d '' file do echo "doing... $file" generatePng "$file" /tmp/A.png