From 32175eeed0cd6c7f7de3d8d62e13c1f5d5b4e642 Mon Sep 17 00:00:00 2001 From: ManInDark <61268856+ManInDark@users.noreply.github.com> Date: Sun, 18 Jan 2026 21:17:26 +0100 Subject: [PATCH] fix: start hyprland with systemd --- build_files/02_hyprland.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_files/02_hyprland.sh b/build_files/02_hyprland.sh index 746f848..e56a078 100755 --- a/build_files/02_hyprland.sh +++ b/build_files/02_hyprland.sh @@ -14,4 +14,4 @@ dnf5 install -y \ cliphist \ SwayNotificationCenter-git -echo 'if [[ $(ps aux | grep hyprland | wc -l) -eq 1 ]]; then cd $HOME && echo "launch hyprland?" && read && hyprland ; fi' >> /etc/profile.d/launch_hyprland.sh +echo 'if [[ $(ps aux | grep hyprland | wc -l) -eq 1 ]]; then cd $HOME && echo "launch hyprland?" && read && systemd-run --user --service-type=exec --unit=hyprland --description="hyprland start service" hyprland ; fi' >> /etc/profile.d/launch_hyprland.sh