From 5a0e52fb9beb6bec718e02debf867695c043c814 Mon Sep 17 00:00:00 2001 From: Daniel Dada Date: Sun, 7 Dec 2025 02:12:05 +0300 Subject: [PATCH] chore: added desktop file --- .gitignore | 4 ++++ CMakeLists.txt | 8 +++++++- PKGBUILD | 2 +- resources/clrsync.desktop | 11 +++++++++++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 resources/clrsync.desktop diff --git a/.gitignore b/.gitignore index 5ab37ea..bbc9ce7 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,10 @@ out /subprojects/libpng-* /subprojects/packagecache +*.log +*tar.zst +*tar.gz + *.swp *.bak *.tmp diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f5a5b1..bd455a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,4 +140,10 @@ install(DIRECTORY example_config/templates install(DIRECTORY example_config/palettes DESTINATION ${CMAKE_INSTALL_DATADIR}/clrsync FILES_MATCHING PATTERN "*.toml" -) \ No newline at end of file +) + +if(UNIX AND NOT APPLE) + install(FILES resources/colorsync.desktop + DESTINATION ${CMAKE_INSTALL_DATADIR}/applications + ) +endif() \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD index 3de3bf3..032272b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Daniel Dada pkgname=clrsync pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Color scheme manager" arch=('x86_64') url="https://github.com/obsqrbtz/clrsync" diff --git a/resources/clrsync.desktop b/resources/clrsync.desktop new file mode 100644 index 0000000..eb0e738 --- /dev/null +++ b/resources/clrsync.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=clrsync +GenericName=Color Scheme Manager +Comment=Manage and apply color schemes across applications +Exec=clrsync_gui +Icon=colorsync +Terminal=false +Type=Application +Categories=Graphics;Utility; +Keywords=color;theme;palette;scheme; +StartupNotify=true \ No newline at end of file