Add Wayland and Xorg session files

This allows display managers to detect sway.
This commit is contained in:
Max Bruckner 2015-08-20 23:12:34 +02:00
parent 1100335ea0
commit 0ac6409a75
3 changed files with 18 additions and 0 deletions

View file

@ -69,3 +69,11 @@ INSTALL(
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man5
)
INSTALL(
FILES ${PROJECT_SOURCE_DIR}/sway.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/wayland-sessions/)
INSTALL(
FILES ${PROJECT_SOURCE_DIR}/sway-xorg.desktop
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/xsessions/)