add the app icon

This commit is contained in:
Tio TROM 2022-09-20 03:45:50 +02:00
parent bbfa0e9ad5
commit a67a02050b
3 changed files with 123 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: TROM <contact@tromsite.com> # Maintainer: TROM <contact@tromsite.com>
pkgname=tromjaro-theme-switcher pkgname=tromjaro-theme-switcher
pkgver=1.0.0 pkgver=1.1.0
pkgrel=1 pkgrel=1
pkgdesc="TROMjaro Theme switcher application" pkgdesc="TROMjaro Theme switcher application"
arch=(any) arch=(any)
@ -26,4 +26,9 @@ package() {
# copy executables # copy executables
install -Dm644 ${srcdir}/theme-switcher.desktop ${pkgdir}/usr/share/applications/tromjaro-theme-switcher.desktop install -Dm644 ${srcdir}/theme-switcher.desktop ${pkgdir}/usr/share/applications/tromjaro-theme-switcher.desktop
install -Dm755 ${srcdir}/theme-switcher ${pkgdir}/usr/bin/tromjaro-theme-switcher install -Dm755 ${srcdir}/theme-switcher ${pkgdir}/usr/bin/tromjaro-theme-switcher
# copy the icon
install -d ${pkgdir}/usr/share/icons/hicolor/scalable/apps
install -Dm644 ${srcdir}/tromjaro-theme-switch.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps
} }

View File

@ -4,7 +4,7 @@ Type=Application
Name=TROMjaro Theme Switcher Name=TROMjaro Theme Switcher
GenericName=TROMjaro Theme Switcher GenericName=TROMjaro Theme Switcher
Comment=Change the theme based on TROMjaro's default theme set. Comment=Change the theme based on TROMjaro's default theme set.
Icon=theme-switcher Icon=tromjaro-theme-switcher
Exec=tromjaro-theme-switcher Exec=tromjaro-theme-switcher
Categories=DesktopSettings;GTK;Settings;X-XFCE-PersonalSettings;X-XFCE-SettingsDialog;XFCE; Categories=DesktopSettings;GTK;Settings;X-XFCE-PersonalSettings;X-XFCE-SettingsDialog;XFCE;
Keywords=settings;layout;toggle;switch;theme; Keywords=settings;layout;toggle;switch;theme;

116
tromjaro-theme-switcher.svg Normal file
View File

@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="210mm"
height="210mm"
viewBox="0 0 210 210"
version="1.1"
id="svg5"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14, custom)"
sodipodi:docname="theme-switcher.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="mm"
showgrid="false"
height="210mm"
inkscape:zoom="0.56569163"
inkscape:cx="169.70377"
inkscape:cy="394.2077"
inkscape:window-width="1868"
inkscape:window-height="1047"
inkscape:window-x="52"
inkscape:window-y="33"
inkscape:window-maximized="1"
inkscape:current-layer="g2102-8"
inkscape:showpageshadow="2"
inkscape:deskcolor="#d1d1d1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g2102-8"
inkscape:export-filename="/home/tio/Downloads/Theme Switch/Skeuos-Blue-Dark.png"
inkscape:export-xdpi="146.472"
inkscape:export-ydpi="146.472"
transform="matrix(5.3583981,0,0,8.711261,155.33391,-116.41848)">
<rect
style="fill:#f1f0f0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.999575;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493"
width="33.85321"
height="20.889193"
x="-26.131329"
y="14.81318"
ry="0" />
<path
style="fill:#23252e;fill-opacity:1;stroke:none;stroke-width:0.20751px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M -26.238115,35.641627 7.7218846,14.752433 H -26.238115 Z"
id="path21801" />
</g>
<g
id="g4565"
transform="matrix(1.1587653,0,0,1.2287318,-19.475559,-20.217822)">
<rect
style="opacity:0.658;fill:#246eed;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.38918;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493-6-3"
width="46.82819"
height="29.167919"
x="58.004871"
y="50.955284"
ry="0" />
<rect
style="opacity:0.658;fill:#059378;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.38918;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493-6-3-3"
width="46.82819"
height="29.167919"
x="114.27967"
y="50.955284"
ry="0" />
<rect
style="opacity:0.658;fill:#be0240;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.38918;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493-6-3-38"
width="46.82819"
height="29.167919"
x="58.004871"
y="85.366508"
ry="0" />
<rect
style="opacity:0.658;fill:#8926b4;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.38918;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493-6-3-3-6"
width="46.82819"
height="29.167919"
x="114.27967"
y="85.535751"
ry="0" />
<rect
style="opacity:0.658;fill:#eb7400;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.38918;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493-6-3-0"
width="46.82819"
height="29.167919"
x="58.004871"
y="118.45382"
ry="0" />
<rect
style="opacity:0.658;fill:#008d95;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.38918;stroke-linecap:square;stroke-opacity:0.998508;paint-order:stroke markers fill"
id="rect6493-6-3-3-4"
width="46.82819"
height="29.167919"
x="114.27967"
y="118.58636"
ry="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB