fix: start hyprland with systemd

This commit is contained in:
2026-01-18 21:17:26 +01:00
parent 373a6ab0c2
commit 32175eeed0

View File

@@ -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