Update auto-Hypr.sh/auto-Hypr.fish to use start-hyprland instead for hyprland 0.53 (#2779)

This commit is contained in:
Celestial.y
2025-12-31 07:49:43 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Auto start Hyprland on tty1
if test -z "$DISPLAY" ;and test "$XDG_VTNR" -eq 1
mkdir -p ~/.cache
exec Hyprland > ~/.cache/hyprland.log 2>&1
exec start-hyprland > ~/.cache/hyprland.log 2>&1
end
+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