mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Stop wayland-session, not wm-ready
This commit is contained in:
parent
68b0d96841
commit
36553763a1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue