aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-08-03 22:41:37 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-13 09:15:47 +0200
commitfb3029c0a3121b83f1bca05006e5f95512c709e2 (patch)
tree6f2f1c94c40a46a1bd583d50d4563552ee2b2d07 /data/CMakeLists.txt
parent04baf260b65ac95e1b4aa6f90c63e7ca06997ead (diff)
downloadayatana-indicator-display-fb3029c0a3121b83f1bca05006e5f95512c709e2.tar.gz
ayatana-indicator-display-fb3029c0a3121b83f1bca05006e5f95512c709e2.tar.bz2
ayatana-indicator-display-fb3029c0a3121b83f1bca05006e5f95512c709e2.zip
Fix schema path
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 177e8fd..aea23cb 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -5,7 +5,7 @@ find_package(GSettings)
##
if(NOT EXISTS /usr/share/glib-2.0/schemas/com.ubuntu.touch.system.gschema.xml)
- add_schema ("org.ayatana.display.gschema.xml")
+ add_schema ("org.ayatana.indicator.display.gschema.xml")
endif()
##
@@ -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
##