From d2f38d4051b90fd5b2deab3ddbc57e58ab574efd Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 12 Aug 2008 11:36:11 +0200 Subject: [PATCH] build: add desktop file (FS#257) Signed-off-by: Julien Danjou --- CMakeLists.txt | 1 + awesome.desktop | 6 ++++++ awesomeConfig.cmake | 1 + 3 files changed, 8 insertions(+) create mode 100644 awesome.desktop diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e6cb32b2..6116af9ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -367,6 +367,7 @@ endif() install(DIRECTORY ${AWE_ICON_DIR} DESTINATION ${AWESOME_DATA_PATH}) install(DIRECTORY ${AWE_THEMES_DIR} DESTINATION ${AWESOME_DATA_PATH}) install(FILES ${AWE_DOC_FILES} DESTINATION ${AWESOME_DOC_PATH}) +install(FILES "awesome.desktop" DESTINATION ${AWESOME_XSESSION_PATH}) if(GENERATE_LUADOC) install(DIRECTORY ${BUILD_DIR}/luadoc DESTINATION ${AWESOME_DOC_PATH}) endif() diff --git a/awesome.desktop b/awesome.desktop new file mode 100644 index 000000000..00b770e33 --- /dev/null +++ b/awesome.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=awesome +Comment=Floating and tiling window manager +TryExec=awesome +Exec=awesome diff --git a/awesomeConfig.cmake b/awesomeConfig.cmake index 664edb1c9..456da333c 100644 --- a/awesomeConfig.cmake +++ b/awesomeConfig.cmake @@ -270,6 +270,7 @@ set(AWESOME_MAN_PATH ${PREFIX}/share/man) set(AWESOME_LUA_LIB_PATH ${AWESOME_DATA_PATH}/lib) set(AWESOME_ICON_PATH ${AWESOME_DATA_PATH}/icons) set(AWESOME_THEMES_PATH ${AWESOME_DATA_PATH}/themes) +set(AWESOME_XSESSION_PATH ${PREFIX}/xsessions) # }}} # {{{ Configure files