blob: a5d191d5249552ee9e1993c9c5eae8ae16f980b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# Wrapper to launch Hyprland with persistent logging
# Shadows /usr/bin/start-hyprland when ~/.local/bin is in PATH
LOG_DIR="$HOME/.local/var/log"
TIMESTAMP=$(date +%Y-%m-%d-%H%M%S)
LOG_FILE="$LOG_DIR/hyprland-$TIMESTAMP.log"
mkdir -p "$LOG_DIR"
exec /usr/bin/start-hyprland "$@" > "$LOG_FILE" 2>&1
|