mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
rename hyprland-systemd.desktop and remove hyprland-session.service
This commit is contained in:
@@ -222,16 +222,10 @@ if(NO_SYSTEMD)
|
||||
else()
|
||||
message(STATUS "SYSTEMD support is requested (NO_SYSTEMD not defined)...")
|
||||
add_compile_definitions(USES_SYSTEMD)
|
||||
configure_file(systemd/hyprland-session.service.in
|
||||
systemd/hyprland-session.service @ONLY)
|
||||
|
||||
# session file -systemd
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/systemd/hyprland-systemd.desktop
|
||||
# session file -uwsm
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/systemd/hyprland-uwsm.desktop
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions)
|
||||
|
||||
# install systemd service
|
||||
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprland-session.service
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user)
|
||||
endif()
|
||||
|
||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||
|
Reference in New Issue
Block a user