From 52ab92862f0c5878e964d2be37760519f7a32026 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 30 Nov 2025 22:19:01 +0100 Subject: Fix hyprland breaking ssh --- .bash_profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.bash_profile') 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 -- cgit v1.2.3