From 2c63c1e2c5d9f8cd87bcc0acfcd9120a294654e8 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Sun, 3 Nov 2024 23:35:17 +0200 Subject: systemd: don't prepend PREFIX Fixes #8340 --- systemd/hyprland-session.service.in | 4 ++-- systemd/meson.build | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/systemd/hyprland-session.service.in b/systemd/hyprland-session.service.in index db0efe8c..4ea83397 100644 --- a/systemd/hyprland-session.service.in +++ b/systemd/hyprland-session.service.in @@ -12,8 +12,8 @@ After=hyprland-session-pre.target [Service] Type=notify -ExecStart=@PREFIX@/@BINDIR@/Hyprland -ExecStop=@PREFIX@/@BINDIR@/hyprctl dispatch exit +ExecStart=@BINDIR@/Hyprland +ExecStop=@BINDIR@/hyprctl dispatch exit ExecStopPost=systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP Restart=on-failure Slice=session.slice diff --git a/systemd/meson.build b/systemd/meson.build index 67c08842..909ea651 100644 --- a/systemd/meson.build +++ b/systemd/meson.build @@ -23,7 +23,6 @@ install_data( ) conf_data = configuration_data() -conf_data.set('PREFIX', get_option('prefix')) conf_data.set('BINDIR', get_option('bindir')) configure_file( -- cgit v1.2.3