example/hyprland.desktop: install with full path in Exec

This commit is contained in:
Mihai Fufezan 2025-12-18 00:17:36 +02:00
parent 14c49230cc
commit 1f1a39d46c
3 changed files with 7 additions and 2 deletions

View file

@ -575,6 +575,11 @@ install(
\"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/hyprland\" \
)")
# session file
configure_file(
${CMAKE_SOURCE_DIR}/example/hyprland.desktop.in
${CMAKE_SOURCE_DIR}/example/hyprland.desktop
@ONLY
)
install(FILES ${CMAKE_SOURCE_DIR}/example/hyprland.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/wayland-sessions)