forked from Shinonome/dots-hyprland
e9d6ed874c
Hyprland 0.53 now introduced start-hyprland as the recommended launcher when starting Hyprland from a TTY
6 lines
156 B
Bash
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
|