From 36553763a170ac4651363593a1c4979eca7abc2a Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sun, 23 Jul 2023 00:06:03 +0200 Subject: [PATCH] Stop wayland-session, not wm-ready --- home/.local/bin/scripts/gui/hyprland/launch-hypr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.local/bin/scripts/gui/hyprland/launch-hypr b/home/.local/bin/scripts/gui/hyprland/launch-hypr index 16fc068..58b3c10 100755 --- a/home/.local/bin/scripts/gui/hyprland/launch-hypr +++ b/home/.local/bin/scripts/gui/hyprland/launch-hypr @@ -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