mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-24 09:47:29 -05:00
Add optional autostart on tty scripts
This commit is contained in:
@@ -0,0 +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
|
||||
fi
|
||||
Reference in New Issue
Block a user