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/places/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/places/Makefile.am')
-rw-r--r-- | mate/24x24/places/Makefile.am | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/mate/24x24/places/Makefile.am b/mate/24x24/places/Makefile.am index b3c96db..f0cad83 100644 --- a/mate/24x24/places/Makefile.am +++ b/mate/24x24/places/Makefile.am @@ -8,82 +8,82 @@ png_icons = \ folder-documents.png: ../../../src/folders.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 $@ folder-download.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=703:442:735:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:400:726:424 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ folder-music.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=1103:442:1135:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1102:400:1126:424 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ folder-pictures.png: ../../../src/folders.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 $@ folder.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=303:1042:335:1074 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1202:100:1226:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ folder-publicshare.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=1503:142:1535:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1502:100:1526:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ folder-remote.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=1103:742:1135:774 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1102:700:1126:724 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ folder-saved-search.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=703:742:735:774 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:700:726:724 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ folder-templates.png: ../../../src/folders.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 $@ folder-videos.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=1503:442:1535:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1502:400:1526:424 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ network-server.png: ../../../src/network-server.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-workgroup.png: ../../../src/computers.svg @echo " "$@ - @inkscape -z $^ --export-area=703:442:735:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=702:400:726:424 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ user-bookmarks.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=1903:142:1935:174 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1902:100:1926:124 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ user-desktop.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=1903:442:1935:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=1902:400:1926:424 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ user-home.png: ../../../src/folders.svg @echo " "$@ - @inkscape -z $^ --export-area=303:442:335:474 -w=24 -h=24 -e=$@ 1> /dev/null + @inkscape -z $^ --export-area=302:400:326:424 -w=24 -h=24 -e=$@ 1> /dev/null @mogrify -quiet -strip $@ user-trash.png: ../../../src/trash.svg @echo " "$@ - @inkscape -z $^ --export-area=702:142:734: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 $@ .PHONY: build-png-icons-local clean-png-icons-local |