Stop wayland-session, not wm-ready

This commit is contained in:
ItsDrike 2023-07-23 00:06:03 +02:00
parent 68b0d96841
commit 36553763a1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -12,6 +12,6 @@ echo "---------- NEW RUN $(date) ----------" >> "$HYPRLAND_LOG"
Hyprland 2>&1 | awk '{ print strftime("%s: "), $0, fflush(); }' | tee -a "$HYPRLAND_LOG"
echo "---------- ENDED $(date) ----------" >> "$HYPRLAND_LOG"
if systemctl --user is-active wm-ready.target &>/dev/null; then
systemctl --user stop wm-ready.target
if systemctl --user is-active wayland-session.target &>/dev/null; then
systemctl --user stop wayland-session.target
fi