mirror of
https://github.com/hyprwm/hyprpolkitagent.git
synced 2025-05-12 21:30:41 +01:00
dbus: add proper ini-type config file (#22)
This commit is contained in:
parent
ae7c5be24c
commit
08cab3a4d9
2 changed files with 10 additions and 1 deletions
|
@ -50,7 +50,12 @@ include(GNUInstallDirs)
|
|||
|
||||
set(LIBEXECDIR ${CMAKE_INSTALL_FULL_LIBEXECDIR})
|
||||
configure_file(assets/hyprpolkitagent-service.in hyprpolkitagent.service @ONLY)
|
||||
configure_file(assets/hyprpolkitagent-dbus.in hyprpolkitagent-dbus.service @ONLY)
|
||||
|
||||
install(TARGETS hyprpolkitagent DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})
|
||||
install(TARGETS hyprpolkitagent
|
||||
DESTINATION ${CMAKE_INSTALL_LIBEXECDIR})
|
||||
install(FILES ${CMAKE_BINARY_DIR}/hyprpolkitagent.service
|
||||
DESTINATION "lib/systemd/user")
|
||||
install(FILES ${CMAKE_BINARY_DIR}/hyprpolkitagent-dbus.service
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/services
|
||||
RENAME hyprpolkitagent.service)
|
||||
|
|
4
assets/hyprpolkitagent-dbus.in
Normal file
4
assets/hyprpolkitagent-dbus.in
Normal file
|
@ -0,0 +1,4 @@
|
|||
[D-BUS Service]
|
||||
Name=hyprpolkitagent
|
||||
Exec=@LIBEXECDIR@/hyprpolkitagent
|
||||
SystemdService=hyprpolkitagent.service
|
Loading…
Reference in a new issue