From a67a02050bd686f0b8f40ef3a448bca67a8e7fd2 Mon Sep 17 00:00:00 2001 From: tio Date: Tue, 20 Sep 2022 03:45:50 +0200 Subject: [PATCH] add the app icon --- PKGBUILD | 7 ++- theme-switcher.desktop | 2 +- tromjaro-theme-switcher.svg | 116 ++++++++++++++++++++++++++++++++++++ 3 files changed, 123 insertions(+), 2 deletions(-) create mode 100644 tromjaro-theme-switcher.svg diff --git a/PKGBUILD b/PKGBUILD index dc7e19d..6bd4230 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: TROM pkgname=tromjaro-theme-switcher -pkgver=1.0.0 +pkgver=1.1.0 pkgrel=1 pkgdesc="TROMjaro Theme switcher application" arch=(any) @@ -26,4 +26,9 @@ package() { # copy executables 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 + + # 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 + } diff --git a/theme-switcher.desktop b/theme-switcher.desktop index 6276b06..60b538f 100644 --- a/theme-switcher.desktop +++ b/theme-switcher.desktop @@ -4,7 +4,7 @@ Type=Application Name=TROMjaro Theme Switcher GenericName=TROMjaro Theme Switcher Comment=Change the theme based on TROMjaro's default theme set. -Icon=theme-switcher +Icon=tromjaro-theme-switcher Exec=tromjaro-theme-switcher Categories=DesktopSettings;GTK;Settings;X-XFCE-PersonalSettings;X-XFCE-SettingsDialog;XFCE; Keywords=settings;layout;toggle;switch;theme; diff --git a/tromjaro-theme-switcher.svg b/tromjaro-theme-switcher.svg new file mode 100644 index 0000000..e1e0d11 --- /dev/null +++ b/tromjaro-theme-switcher.svg @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + +