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
This commit is contained in:
VietNguyenx
2025-12-31 00:04:38 +07:00
committed by GitHub
parent aaa8448011
commit e9d6ed874c
+1 -1
View File
@@ -1,5 +1,5 @@
# Auto start Hyprland on tty1
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
mkdir -p ~/.cache
exec Hyprland > ~/.cache/hyprland.log 2>&1
exec start-hyprland > ~/.cache/hyprland.log 2>&1
fi