Skip to content

Commit

Permalink
Do not autostart TMUX when using KDE Plasma
Browse files Browse the repository at this point in the history
  • Loading branch information
astsu777 committed Jan 10, 2025
1 parent b6f1e5b commit 9df2670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shellconfig/common
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ if { [ -f /etc/arch-release ] || [ -d /usr/share/xbps.d ] ;} && [ -f "$HOME"/.xi
fi

# Auto-start Tmux session
if ! printf '%s' "$SESSION" | grep -Eqi '^(dwm|bspwm|i3|spectrwm)$' && ! printf '%s' "$GDMSESSION" | grep -Eqi '^(dwm|bspwm|i3|spectrwm)$' ; then
if ! printf '%s' "$SESSION" | grep -Eqi '^(dwm|bspwm|i3|spectrwm)$' && ! printf '%s' "$GDMSESSION" | grep -Eqi '^(dwm|bspwm|i3|spectrwm)$' && [ -z "$KDE_FULL_SESSION" ] ; then
if type tmux > /dev/null 2>&1 && [ -z "$TMUX" ]; then
if [ -z "$SSH_CLIENT" ] || [ -z "$SSH_TTY" ]; then
if [ ! -d "$XDG_CONFIG_HOME"/tmux/plugins/tpm ]; then
Expand Down

0 comments on commit 9df2670

Please sign in to comment.