Skip to content

Commit

Permalink
Add Wayland and Xorg session files
Browse files Browse the repository at this point in the history
This allows display managers to detect sway.
  • Loading branch information
FSMaxB committed Aug 20, 2015
1 parent 1100335 commit 0ac6409
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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/)
5 changes: 5 additions & 0 deletions sway-xorg.desktop
@@ -0,0 +1,5 @@
[Desktop Entry]
Name=Sway (Xorg)
Comment=SirCmpwn's Wayland window manager
Exec=sway
Type=Application
5 changes: 5 additions & 0 deletions sway.desktop
@@ -0,0 +1,5 @@
[Desktop Entry]
Name=Sway
Comment=SirCmpwn's Wayland window manager
Exec=sway
Type=Application

0 comments on commit 0ac6409

Please sign in to comment.