Files
illogical-impulse/dots/.config/zshrc.d/auto-Hypr.sh
T
VietNguyenx e9d6ed874c Update auto-Hypr.sh to use start-hyprland instead (for Hyprland ≥ 0.53)
Hyprland 0.53 now introduced start-hyprland as the recommended launcher when starting Hyprland from a TTY
2025-12-31 00:04:38 +07:00

6 lines
156 B
Bash

# Auto start Hyprland on tty1
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
mkdir -p ~/.cache
exec start-hyprland > ~/.cache/hyprland.log 2>&1
fi