Revert "service file: allow for waybar installed in different prefix"

pull/459/head
Alex 2019-09-10 12:06:06 +02:00 committed by GitHub
parent b6cb02ce85
commit 5bb6fa384d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View File

@ -66,13 +66,8 @@ systemd = dependency('systemd', required: get_option('systemd'))
if systemd.found()
user_units_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
configure_file(
configuration: config,
input: './resources/waybar.service.in',
output: '@BASENAME@',
install_dir: user_units_dir
)
install_data('./resources/waybar.service',
install_dir: user_units_dir)
endif
src_files = files(

View File

@ -6,7 +6,7 @@ PartOf=wayland-session.target
[Service]
Type=dbus
BusName=fr.arouillard.waybar
ExecStart=@prefix@/bin/waybar
ExecStart=/usr/bin/waybar
[Install]
WantedBy=wayland-session.target