aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-20 17:39:32 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-20 17:39:32 -0400
commitcc5713aee6525fd1783c1a9280079f7e9abcd882 (patch)
treeb170d3fc0c503bf5380b7fd3b582ed1b90a01bf4
parent3a5fce339f8dcc22db8cafdfeba7b2748df02d18 (diff)
parent0ac6409a757fe6720adf896cd47bdc2d7912f4b7 (diff)
downloadsway-cc5713aee6525fd1783c1a9280079f7e9abcd882.tar.xz
Merge pull request #106 from FSMaxB/session-files
Add Wayland and Xorg session files
-rw-r--r--CMakeLists.txt8
-rw-r--r--sway-xorg.desktop5
-rw-r--r--sway.desktop5
3 files changed, 18 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/)
diff --git a/sway-xorg.desktop b/sway-xorg.desktop
new file mode 100644
index 00000000..e93a4284
--- /dev/null
+++ 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
new file mode 100644
index 00000000..98c9af29
--- /dev/null
+++ b/sway.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=Sway
+Comment=SirCmpwn's Wayland window manager
+Exec=sway
+Type=Application