Added execution of tmux in yakuake only on session-1
This commit is contained in:
parent
46d4a5c413
commit
3981663c7c
1 changed files with 8 additions and 0 deletions
8
.bashrc
8
.bashrc
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue