2024-10-26 21:49:00 +02:00
|
|
|
install_data(
|
|
|
|
'hyprland-systemd.desktop',
|
|
|
|
install_dir: join_paths(get_option('datadir'), 'wayland-sessions'),
|
|
|
|
install_tag: 'runtime',
|
|
|
|
)
|
|
|
|
|
|
|
|
conf_data = configuration_data()
|
|
|
|
conf_data.set('PREFIX', get_option('prefix'))
|
|
|
|
conf_data.set('BINDIR', get_option('bindir'))
|
2024-11-01 14:54:17 +01:00
|
|
|
user_unit_dir = systemd.get_variable(pkgconfig: 'systemduserunitdir',
|
|
|
|
pkgconfig_define: ['prefix', get_option('prefix')])
|
2024-10-26 21:49:00 +02:00
|
|
|
|
|
|
|
configure_file(
|
|
|
|
configuration: conf_data,
|
|
|
|
input: 'hyprland-session.service.in',
|
|
|
|
output: '@BASENAME@',
|
2024-11-01 14:54:17 +01:00
|
|
|
install_dir: user_unit_dir )
|