fix: uwsm on tmux doesn't show any warning

This commit is contained in:
2025-02-08 11:38:55 +01:00
parent cc380c12eb
commit 27adbd15ae

View File

@@ -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