systemd: add service for presets

parent f6602243
systemd = dependency('systemd', required: true)
install_data(
'ximperconf-presets.service',
install_dir: systemd.get_variable(pkgconfig :'systemduserunitdir'),
)
[Unit]
Description=Apply ximperconf presets
[Service]
Type=oneshot
ExecStart=/usr/bin/ximperconf preset apply-all
[Install]
WantedBy=default.target
...@@ -20,6 +20,7 @@ if get_option('shell_completion').enabled() ...@@ -20,6 +20,7 @@ if get_option('shell_completion').enabled()
subdir('data/completion') subdir('data/completion')
endif endif
subdir('data/systemd')
subdir('po') subdir('po')
custom_target( custom_target(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment