Revert "service file: allow for waybar installed in different pr… (#459)
Revert "service file: allow for waybar installed in different prefix"
This commit is contained in:
commit
02811293e0
|
@ -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(
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue