dotfiles/home/.local/bin/scripts/gui/hyprland/launch-hypr

14 lines
461 B
Plaintext
Raw Normal View History

2022-10-29 21:31:40 +00: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 21:55:30 +00:00
#
HYPRLAND_LOG="${XDG_CACHE_HOME:-$HOME/.cache}/hyprlog.txt"
2022-10-29 21:31:40 +00:00
2022-11-07 21:55:30 +00: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"