From 4c27476f5aa0ca345b5470b9e036e5309316c453 Mon Sep 17 00:00:00 2001 From: daleclack Date: Thu, 18 Feb 2021 09:26:59 +0800 Subject: [PATCH] Update icon resource --- icon-install/install-icon.sh | 7 ++++--- icon-install/org.gtk.daleclack.desktop | 7 +++++++ .../{gtk4-icon.png => org.gtk.daleclack.png} | Bin .../{gtk4-icon.svg => org.gtk.daleclack.svg} | 0 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 icon-install/org.gtk.daleclack.desktop rename icon-install/{gtk4-icon.png => org.gtk.daleclack.png} (100%) rename icon-install/{gtk4-icon.svg => org.gtk.daleclack.svg} (100%) diff --git a/icon-install/install-icon.sh b/icon-install/install-icon.sh index e36f419..1044c8b 100644 --- a/icon-install/install-icon.sh +++ b/icon-install/install-icon.sh @@ -1,5 +1,6 @@ -sudo cp ./gtk4-icon.png /usr/share/icons/hicolor/48x48/apps/gtk4-icon.png -sudo cp ./gtk4-icon.svg /usr/share/icons/hicolor/scalabale/apps/gtk4-icon.svg -sudo cp ./gtk4-icon.svg /usr/share/icons/hicolor/symbolic/apps/gtk4-icon-symbolic.svg +sudo cp ./org.gtk.daleclack.png /usr/share/icons/hicolor/48x48/apps/org.gtk.daleclack.png +sudo cp ./org.gtk.daleclack.svg /usr/share/icons/hicolor/scalable/apps/org.gtk.daleclack.svg +sudo cp ./org.gtk.daleclack.svg /usr/share/icons/hicolor/symbolic/apps/org.gtk.daleclack.svg +cp ./org.gtk.daleclack.desktop ~/.local/share/applications sudo gtk-update-icon-cache -f -t /usr/share/icons/hicolor sudo gtk4-update-icon-cache -f -t /usr/share/icons/hicolor diff --git a/icon-install/org.gtk.daleclack.desktop b/icon-install/org.gtk.daleclack.desktop new file mode 100644 index 0000000..84bf1e3 --- /dev/null +++ b/icon-install/org.gtk.daleclack.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Gtk4-test +Exec=/mnt/Dell/testing-repository/Gtk4/gtk4-test/bin/gtk4-test +Comment= +Terminal=false +Icon=org.gtk.daleclack +Type=Application diff --git a/icon-install/gtk4-icon.png b/icon-install/org.gtk.daleclack.png similarity index 100% rename from icon-install/gtk4-icon.png rename to icon-install/org.gtk.daleclack.png diff --git a/icon-install/gtk4-icon.svg b/icon-install/org.gtk.daleclack.svg similarity index 100% rename from icon-install/gtk4-icon.svg rename to icon-install/org.gtk.daleclack.svg