diff --git a/.bashrc b/.bashrc index 6d03288..99640fc 100644 --- a/.bashrc +++ b/.bashrc @@ -138,3 +138,11 @@ fi alias protontricks='flatpak run 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 +