diff options
author | rbuj <[email protected]> | 2019-08-20 17:54:20 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-08-21 16:06:25 +0200 |
commit | 0e2aa2a3887d008ec6ac39894ed482b49f871eee (patch) | |
tree | 8a45615a214ff61bc6f54ee102ff14ddd3fa47ff /mate/24x24/apps/Makefile.am | |
parent | 9fb9c47166ee36ba846bd4cc7703e3a6696e4d07 (diff) | |
download | mate-icon-theme-0e2aa2a3887d008ec6ac39894ed482b49f871eee.tar.bz2 mate-icon-theme-0e2aa2a3887d008ec6ac39894ed482b49f871eee.tar.xz |
Upscale 22x22px icons to 24x24px adding 1px to the edges
Helper script:
dirs=()
for dir in $(find ./mate/24x24 -mindepth 1 -maxdepth 1 -type d); do
directory=$(basename $dir)
if [ -f "mate/22x22/$directory/Makefile.am" ]; \
then
cp mate/22x22/$directory/Makefile.am mate/24x24/$directory/Makefile.am
sed -i -e 's/-w=22 -h=22/-w=24 -h=24/g' mate/24x24/$directory/Makefile.am
dirs+=($directory)
fi
done
./autogen.sh
for dir in ${dirs[@]}; do
make -C mate/24x24/$dir clean-png-icons build-png-icons
done
Change:
- @inkscape -z $^ --export-area=A:B:C:D -w=24 -h=24 -e=$@ 1> /dev/null
+ @inkscape -z $^ --export-area=A-1:B-1:C+1:D+1 -w=24 -h=24 -e=$@ 1> /dev/null
Diffstat (limited to 'mate/24x24/apps/Makefile.am')
-rw-r--r-- | mate/24x24/apps/Makefile.am | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/mate/24x24/apps/Makefile.am b/mate/24x24/apps/Makefile.am index 1b05907..86d783d 100644 --- a/mate/24x24/apps/Makefile.am +++ b/mate/24x24/apps/Makefile.am @@ -35,152 +35,152 @@ png_icons = \ accessories-calculator.png: ../../../src/accessories-calculator.svg @echo " "$@ - @inkscape -z $^ --export-area=303:143:335:175 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=301:100:325:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ accessories-character-map.png: ../../../src/accessories-character-map.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:100:326:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ accessories-dictionary.png: ../../../src/accessories-dictionary.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ accessories-text-editor.png: ../../../src/accessories-text-editor.svg @echo " "$@ - @inkscape -z $^ --export-area=304:151:336:183 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:109:326:133 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ applets-screenshooter.png: ../../../src/applets-screenshooter.svg @echo " "$@ - @inkscape -z $^ --export-area=300:143:332:175 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=300:100:324:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ logviewer.png: ../../../src/logviewer.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:100:326:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ multimedia-volume-control.png: ../../../src/multimedia-volume-control.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=301:101:325:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-accessibility.png: ../../../src/preferences-desktop-accessibility.svg @echo " "$@ - @inkscape -z $^ --export-area=303:143:335:175 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-display.png: ../../../src/displays.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-font.png: ../../../src/preferences-desktop-font.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-keyboard.png: ../../../src/keyboards.svg @echo " "$@ - @inkscape -z $^ --export-area=703:142:735:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:100:726:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-keyboard-shortcuts.png: ../../../src/preferences-desktop-keyboard-shortcuts.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-locale.png: ../../../src/preferences-desktop-locale.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:100:326:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-remote-desktop.png: ../../../src/displays.svg @echo " "$@ - @inkscape -z $^ --export-area=1103:142:1135:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1102:101:1126:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-screensaver.png: ../../../src/displays.svg @echo " "$@ - @inkscape -z $^ --export-area=703:442:735:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:401:726:425 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-theme.png: ../../../src/preferences-desktop-theme.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=303:100:327:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-desktop-wallpaper.png: ../../../src/displays.svg @echo " "$@ - @inkscape -z $^ --export-area=1103:442:1135:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1102:401:1126:425 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-system-notifications.png: ../../../src/preferences-system-notifications.svg @echo " "$@ - @inkscape -z $^ --export-area=302:142:334:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-system-privacy.png: ../../../src/preferences-system-privacy.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:100:326:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-system-search.png: ../../../src/preferences-system-search.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-system-sharing.png: ../../../src/preferences-system-sharing.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ system-file-manager.png: ../../../src/cabinets.svg @echo " "$@ - @inkscape -z $^ --export-area=302:143:334:175 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:100:326:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ system-software-install.png: ../../../src/system-software.svg @echo " "$@ - @inkscape -z $^ --export-area=304:142:336:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:100:326:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ system-software-update.png: ../../../src/system-software.svg @echo " "$@ - @inkscape -z $^ --export-area=704:142:736:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:100:726:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ preferences-system-windows.png: ../../../src/preferences-system-windows.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:101:326:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ system-users.png: ../../../src/users.svg @echo " "$@ - @inkscape -z $^ --export-area=1103:142:1135:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1102:100:1126:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ user-info.png: ../../../src/users.svg @echo " "$@ - @inkscape -z $^ --export-area=703:142:735:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:100:726:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ utilities-system-monitor.png: ../../../src/terminals.svg @echo " "$@ - @inkscape -z $^ --export-area=702:141:734:173 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:99:726:123 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ utilities-terminal.png: ../../../src/terminals.svg @echo " "$@ - @inkscape -z $^ --export-area=302:141:334:173 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:99:326:123 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ web-browser.png: ../../../src/web-browser.svg @echo " "$@ - @inkscape -z $^ --export-area=302:142:334:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=301:100:325:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ .PHONY: build-png-icons-local clean-png-icons-local |