diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-30 22:19:01 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-30 22:19:01 +0100 |
| commit | 52ab92862f0c5878e964d2be37760519f7a32026 (patch) | |
| tree | c678cf4acb136f6717028af2504323603930b3d9 /.bash_profile | |
| parent | aacdd107162c4475128c024473457ed7090b08b0 (diff) | |
Fix hyprland breaking ssh
Diffstat (limited to '.bash_profile')
| -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 |
