mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-26 21:58:08 +01:00
Add Wayland and Xorg session files
This allows display managers to detect sway.
This commit is contained in:
parent
1100335ea0
commit
0ac6409a75
3 changed files with 18 additions and 0 deletions
|
@ -69,3 +69,11 @@ INSTALL(
|
||||||
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
|
FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/sway.5
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man5
|
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
sway-xorg.desktop
Normal file
5
sway-xorg.desktop
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Sway (Xorg)
|
||||||
|
Comment=SirCmpwn's Wayland window manager
|
||||||
|
Exec=sway
|
||||||
|
Type=Application
|
5
sway.desktop
Normal file
5
sway.desktop
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Sway
|
||||||
|
Comment=SirCmpwn's Wayland window manager
|
||||||
|
Exec=sway
|
||||||
|
Type=Application
|
Loading…
Reference in a new issue