mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-30 14:34:34 +00:00
18 lines
571 B
Bash
Executable file
18 lines
571 B
Bash
Executable file
#!/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
|
|
#
|
|
HYPRLAND_LOG="${XDG_CACHE_HOME:-$HOME/.cache}/hyprlog.txt"
|
|
|
|
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
|