1
0
Fork 0
mirror of https://github.com/ItsDrike/dotfiles.git synced 2025-02-27 21:28:56 +00:00
dotfiles/home/.local/bin/scripts/gui/hyprland/launch-hypr

18 lines
571 B
Text
Raw Normal View History

2022-10-29 23:31:40 +02:00
#!/bin/sh
# export SDL_VIDEODRIVER=wayland
# export _JAVA_AWT_WM_NONREPARENTING=1
# export QT_QPA_PLATFORM=wayland
# export XDG_CURRENT_DESKTOP=sway
# export XDG_SESSION_DESKTOP=sway
2022-11-07 22:55:30 +01:00
#
HYPRLAND_LOG="${XDG_CACHE_HOME:-$HOME/.cache}/hyprlog.txt"
2022-10-29 23:31:40 +02:00
2022-11-07 22:55:30 +01:00
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
fi