Added execution of tmux in yakuake only on session-1

This commit is contained in:
Eric Renfro 2024-10-22 23:28:58 -04:00
parent 46d4a5c413
commit 3981663c7c
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM

View file

@ -138,3 +138,11 @@ fi
alias protontricks='flatpak run com.github.Matoking.protontricks' alias protontricks='flatpak run com.github.Matoking.protontricks'
alias protontricks-launch='flatpak run --command=protontricks-launch com.github.Matoking.protontricks' alias protontricks-launch='flatpak run --command=protontricks-launch com.github.Matoking.protontricks'
if [[ -n "$KONSOLE_VERSION" ]]; then
if [[ "$KONSOLE_DBUS_SESSION" == "/Sessions/1" ]]; then
if grep -Fxq yakuake "/proc/$PPID/comm"; then
exec tmux -2 a
fi
fi
fi