rename hyprland-systemd.desktop and remove hyprland-session.service

This commit is contained in:
Izmyname
2024-11-07 21:01:12 +05:00
committed by Mihai Fufezan
parent 430b5c302a
commit ccfae82ad1
4 changed files with 3 additions and 37 deletions

View File

@@ -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})