From a0d09b1fd656146c1b69b6410382918effec4bd8 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 13 Oct 2024 18:39:42 +0100 Subject: [PATCH] core: add desktop file --- CMakeLists.txt | 2 ++ assets/install/hyprsysteminfo.desktop | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 assets/install/hyprsysteminfo.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 160cc55..cb373e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,3 +50,5 @@ install(TARGETS hyprsysteminfo LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) + +install(FILES assets/install/hyprsysteminfo.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications) diff --git a/assets/install/hyprsysteminfo.desktop b/assets/install/hyprsysteminfo.desktop new file mode 100644 index 0000000..4b84002 --- /dev/null +++ b/assets/install/hyprsysteminfo.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=System Info +GenericName=System Information Application +Comment=A system information app from the Hyprland project +Exec=hyprsysteminfo +Terminal=false +Type=Application