diff options
| -rw-r--r-- | .bash_profile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile index 4eab62b..f5fc89b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -80,7 +80,8 @@ homebrew_token() { } # ==== Hyprland auto start -if command -v Hyprland 1>/dev/null 2>&1; then +# Only strart hyprland on tty1 without X11/Wayland display +if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = "1" ]; then exec Hyprland fi |
