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/devices/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/devices/Makefile.am')
-rw-r--r-- | mate/24x24/devices/Makefile.am | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/mate/24x24/devices/Makefile.am b/mate/24x24/devices/Makefile.am index d7836aa..8e0cc20 100644 --- a/mate/24x24/devices/Makefile.am +++ b/mate/24x24/devices/Makefile.am @@ -43,192 +43,192 @@ png_icons = \ ac-adapter.png: ../../../src/batteries.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 $@ audio-card.png: ../../../src/audio-card.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 $@ audio-headphones.png: ../../../src/audio-headphones.svg @echo " "$@ - @inkscape -z $^ --export-area=303:440:335:472 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:398:326:422 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ audio-headset.png: ../../../src/audio-headphones.svg @echo " "$@ - @inkscape -z $^ --export-area=303:140:335:172 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:98:326:122 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ audio-input-microphone.png: ../../../src/audio-input-microphone.svg @echo " "$@ - @inkscape -z $^ --export-area=302:142:334: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 $@ audio-speakers.png: ../../../src/audio-speakers.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 $@ battery.png: ../../../src/batteries.svg @echo " "$@ - @inkscape -z $^ --export-area=303:742:335:774 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:700:326:724 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ camera-photo.png: ../../../src/camera-photo.svg @echo " "$@ - @inkscape -z $^ --export-area=300:142:332:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=300:101:324:125 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ camera-video.png: ../../../src/camera-video.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 $@ camera-web.png: ../../../src/camera-web.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 $@ computer.png: ../../../src/computers.svg @echo " "$@ - @inkscape -z $^ --export-area=303:442:335:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:401:326:425 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ drive-harddisk.png: ../../../src/drive-harddisk.svg @echo " "$@ - @inkscape -z $^ --export-area=303:138:335:172 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:95:326:119 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ drive-multidisk.png: ../../../src/drive-multidisk.svg @echo " "$@ - @inkscape -z $^ --export-area=303:136:335:168 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:95:326:119 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ drive-optical.png: ../../../src/drives.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 $@ drive-removable-media.png: ../../../src/drives.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 $@ input-dialpad.png: ../../../src/input-dialpad.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335: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 $@ input-gaming.png: ../../../src/input-gaming.svg @echo " "$@ - @inkscape -z $^ --export-area=343:162:375:194 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=342:119:366:143 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ input-keyboard.png: ../../../src/keyboards.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 $@ input-mouse.png: ../../../src/input-mouse.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 $@ input-tablet.png: ../../../src/input-tablet.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 $@ input-touchpad.png: ../../../src/input-touchpad.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 $@ media-flash.png: ../../../src/media-flash.svg @echo " "$@ - @inkscape -z $^ --export-area=304:142:336:174 -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 $@ media-floppy.png: ../../../src/media-floppy.svg @echo " "$@ - @inkscape -z $^ --export-area=303:141:335: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 $@ media-optical.png: ../../../src/media-optical.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 $@ media-removable.png: ../../../src/media-removable.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335: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 $@ media-tape.png: ../../../src/media-tape.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-player.png: ../../../src/multimedia-player.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 $@ modem.png: ../../../src/modem.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 $@ network-vpn.png: ../../../src/network-vpn.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 $@ network-wired.png: ../../../src/network-wired.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 $@ network-wireless.png: ../../../src/network-wireless.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 $@ pda.png: ../../../src/pda.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 $@ phone.png: ../../../src/phone.svg @echo " "$@ - @inkscape -z $^ --export-area=303:142:335: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 $@ printer.png: ../../../src/printers.svg @echo " "$@ - @inkscape -z $^ --export-area=303:434:335:466 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:393:326:417 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ printer-network.png: ../../../src/printer-network.svg @echo " "$@ - @inkscape -z $^ --export-area=303:140:335:172 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:98:326:122 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ scanner.png: ../../../src/scanner.svg @echo " "$@ - @inkscape -z $^ --export-area=303:140:335:172 -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 $@ uninterruptible-power-supply.png: ../../../src/uninterruptible-power-supply.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 $@ video-display.png: ../../../src/displays.svg @echo " "$@ - @inkscape -z $^ --export-area=303:442:335:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:401:326:425 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ .PHONY: build-png-icons-local clean-png-icons-local |