diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index ba87b56..a4fd37e 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -10,6 +10,10 @@ export PATH="$PATH:$HOME/.local/scripts/" export CAPACITOR_ANDROID_STUDIO_PATH="/home/daniele/.local/share/JetBrains/Toolbox/apps/android-studio/bin/studio.sh" # Launch Hyprland via uwsm -if uwsm check may-start; then - exec uwsm start hyprland.desktop +# Check if we are inside a tmux session +if [ -z "$TMUX" ]; then + if uwsm check may-start; then + exec uwsm start hyprland.desktop + fi fi +