diff options
| author | Max Bruckner <max@maxbruckner.de> | 2015-08-20 23:12:34 +0200 |
|---|---|---|
| committer | Max Bruckner <max@maxbruckner.de> | 2015-08-20 23:12:34 +0200 |
| commit | 0ac6409a757fe6720adf896cd47bdc2d7912f4b7 (patch) | |
| tree | b593a2735e41eea543637c039b55dd8062f373d3 /CMakeLists.txt | |
| parent | 1100335ea01ecd56df68568622580db14e72b6c7 (diff) | |
Add Wayland and Xorg session files
This allows display managers to detect sway.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d190cd8b..3ed6fc02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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/) |
