commit 0ac6409a757fe6720adf896cd47bdc2d7912f4b7 parent 1100335ea01ecd56df68568622580db14e72b6c7 Author: Max Bruckner <max@maxbruckner.de> Date: Thu, 20 Aug 2015 23:12:34 +0200 Add Wayland and Xorg session files This allows display managers to detect sway. Diffstat:
| M | CMakeLists.txt | | | 8 | ++++++++ |
| A | sway-xorg.desktop | | | 5 | +++++ |
| A | sway.desktop | | | 5 | +++++ |
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git 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/) diff --git a/sway-xorg.desktop b/sway-xorg.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Sway (Xorg) +Comment=SirCmpwn's Wayland window manager +Exec=sway +Type=Application diff --git a/sway.desktop b/sway.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Sway +Comment=SirCmpwn's Wayland window manager +Exec=sway +Type=Application