forked from Shinonome/dots-hyprland
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:
@@ -1,5 +1,5 @@
|
|||||||
# Auto start Hyprland on tty1
|
# Auto start Hyprland on tty1
|
||||||
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||||
mkdir -p ~/.cache
|
mkdir -p ~/.cache
|
||||||
exec Hyprland > ~/.cache/hyprland.log 2>&1
|
exec start-hyprland > ~/.cache/hyprland.log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user