aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-08-03 02:22:36 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-13 09:36:11 +0200
commit01de53a10eff21e5d75d94b17ad3a76bc1576619 (patch)
tree28d827709e19f30bdc9ea3f59547e45cb097a479 /data/CMakeLists.txt
parent7b110fc4aee889bd5cbec9ed74f83bcde8a50c5b (diff)
downloadayatana-indicator-display-01de53a10eff21e5d75d94b17ad3a76bc1576619.tar.gz
ayatana-indicator-display-01de53a10eff21e5d75d94b17ad3a76bc1576619.tar.bz2
ayatana-indicator-display-01de53a10eff21e5d75d94b17ad3a76bc1576619.zip
Add XDG autostart stuff
- data/ayatana-indicator-display.desktop.in: Add file - data/CMakeLists.txt: Add XDG autostart section
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 177e8fd..df734f1 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -29,6 +29,16 @@ install (FILES "${SYSTEMD_USER_FILE}"
DESTINATION "${SYSTEMD_USER_DIR}")
##
+## XDG Autostart Config File
+##
+
+# build it
+configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop")
+
+# install it
+install (FILES "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.desktop" DESTINATION "/etc/xdg/autostart")
+
+##
## Ayatana Indicator File
##