mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +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"
|
Hyprland 2>&1 | awk '{ print strftime("%s: "), $0, fflush(); }' | tee -a "$HYPRLAND_LOG"
|
||||||
echo "---------- ENDED $(date) ----------" >> "$HYPRLAND_LOG"
|
echo "---------- ENDED $(date) ----------" >> "$HYPRLAND_LOG"
|
||||||
|
|
||||||
if systemctl --user is-active wm-ready.target &>/dev/null; then
|
if systemctl --user is-active wayland-session.target &>/dev/null; then
|
||||||
systemctl --user stop wm-ready.target
|
systemctl --user stop wayland-session.target
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue