.dotfiles/.config/zshrc.d/auto-Hypr.sh
2026-01-18 21:08:16 -07:00

6 lines
150 B
Bash

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