aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2024-11-03 23:35:17 +0200
committerMihai Fufezan <[email protected]>2024-11-03 23:59:35 +0200
commit2c63c1e2c5d9f8cd87bcc0acfcd9120a294654e8 (patch)
tree77e4944d179c4a88c32dc55b3d47b70f15fde121
parent2557b9c01da0d1a7b70f679a0ff945f34c8a68d2 (diff)
downloadHyprland-2c63c1e2c5d9f8cd87bcc0acfcd9120a294654e8.tar.gz
Hyprland-2c63c1e2c5d9f8cd87bcc0acfcd9120a294654e8.zip
systemd: don't prepend PREFIX
Fixes #8340
-rw-r--r--systemd/hyprland-session.service.in4
-rw-r--r--systemd/meson.build1
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(