Icons, again...

This commit is contained in:
daa 2017-04-02 20:45:00 +03:00
parent 877e90f39c
commit 470ba838af
3 changed files with 165 additions and 2 deletions

View File

@ -9,8 +9,10 @@ run:
install:
mkdir -p $(PREFIX)/bin/
cp target/release/nvim-gtk $(PREFIX)/bin/
xdg-desktop-menu install --novendor ./desktop/nvim-gtk.desktop
xdg-icon-resource install --novendor --mode system --size 128 ./desktop/nvim-gtk.png nvim-gtk
mkdir -p $(PREFIX)/share/applications/
cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/
mkdir -p $(PREFIX)/share/icons/nvim-gtk/
cp desktop/nvim-gtk.png $(PREFIX)/share/pixmaps/nvim-gtk/
mkdir -p $(PREFIX)/share/fonts/
cp -n desktop/dejavu_font/*.ttf $(PREFIX)/share/fonts/
fc-cache -fv

Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

161
desktop/nvim-gtk.svg Normal file
View File

@ -0,0 +1,161 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128"
height="128"
viewBox="0 0 128 128"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="nvim-gtk-logo.svg"
enable-background="new"
inkscape:export-filename="/home/daa/projects/neovim-gtk/desktop/nvim-gtk.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<linearGradient
id="linearGradient-1"
y2="97.845657"
x2="49.021549"
y1="-0.079835393"
x1="49.021549"
gradientTransform="scale(0.46153975,2.1666606)"
gradientUnits="userSpaceOnUse">
<stop
id="stop3343"
offset="0%"
stop-opacity="0.800235524"
stop-color="#16B0ED" />
<stop
id="stop3345"
offset="100%"
stop-opacity="0.83700023"
stop-color="#0F59B2" />
</linearGradient>
<linearGradient
id="linearGradient-2"
y2="98.851547"
x2="326.17365"
y1="-0.069164939"
x1="326.17365"
gradientTransform="scale(0.46628455,2.1446132)"
gradientUnits="userSpaceOnUse">
<stop
id="stop3348"
offset="0%"
stop-color="#7DB643" />
<stop
id="stop3350"
offset="100%"
stop-color="#367533" />
</linearGradient>
<linearGradient
id="linearGradient-3"
y2="178.55785"
x2="103.88479"
y1="-0.11508822"
x1="103.88479"
gradientTransform="scale(0.84203823,1.1875945)"
gradientUnits="userSpaceOnUse">
<stop
id="stop3353"
offset="0%"
stop-opacity="0.8"
stop-color="#88C649" />
<stop
id="stop3355"
offset="100%"
stop-opacity="0.84"
stop-color="#439240" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="52.426816"
inkscape:cy="40.703901"
inkscape:document-units="px"
inkscape:current-layer="layer3"
showgrid="false"
units="px"
inkscape:window-width="1865"
inkscape:window-height="1056"
inkscape:window-x="55"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Layer 2"
style="opacity:1" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-924.36216)"
style="">
<g
sketch:type="MSPage"
id="Page-1"
style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1"
transform="translate(135.20072,222.56438)">
<g
transform="matrix(0.59861985,0,0,0.59861985,-122.46645,702.21121)"
sketch:type="MSLayerGroup"
id="mark">
<path
sketch:type="MSShapeGroup"
id="Left---green"
d="M 0.02714063,45.458544 45.223647,-0.17297621 45.223646,211.99833 0.02714063,166.89384 l 0,-121.435296 z"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient-1)" />
<path
transform="matrix(-1,0,0,1,304,0)"
sketch:type="MSShapeGroup"
id="Right---blue"
d="M 129.33671,45.889361 175.15234,-0.14833204 174.22365,211.99833 129.02714,166.89384 129.33671,45.889361 Z"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient-2)" />
<path
sketch:type="MSShapeGroup"
id="Cross---blue"
d="M 45.193511,-0.13667814 162.69969,179.17338 129.81792,212.05433 12.250244,33.141173 45.193511,-0.13667814 Z"
inkscape:connector-curvature="0"
style="fill:url(#linearGradient-3)" />
<path
sketch:type="MSShapeGroup"
id="Shadow"
d="m 45.233948,83.032105 -0.0625,7.0625 -36.2805789,-53.5625 3.3593749,-3.422181 32.983704,49.922181 z"
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:0.12999998" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB