diff options
author | Robert Tari <robert@tari.in> | 2021-08-03 02:22:36 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-13 09:36:11 +0200 |
commit | 01de53a10eff21e5d75d94b17ad3a76bc1576619 (patch) | |
tree | 28d827709e19f30bdc9ea3f59547e45cb097a479 | |
parent | 7b110fc4aee889bd5cbec9ed74f83bcde8a50c5b (diff) | |
download | ayatana-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
-rw-r--r-- | data/CMakeLists.txt | 10 | ||||
-rw-r--r-- | data/ayatana-indicator-display.desktop.in | 8 |
2 files changed, 18 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 ## diff --git a/data/ayatana-indicator-display.desktop.in b/data/ayatana-indicator-display.desktop.in new file mode 100644 index 0000000..d51920d --- /dev/null +++ b/data/ayatana-indicator-display.desktop.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Ayatana Indicator Display +Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ayatana-indicator-display-service +OnlyShowIn=Unity;MATE;XFCE;Budgie:GNOME; +NoDisplay=true +StartupNotify=false +Terminal=false |