Add -s support for qterminal

performance
noctuid 7 years ago
parent 498de5706e
commit b1ba3b6129

@ -168,6 +168,7 @@ These terminals have been tested with tdrop and support the =-s= and =-a= flags
- Xfce4-terminal - Xfce4-terminal
- Gnome-terminal - Gnome-terminal
- Konsole - Konsole
- QTerminal
- Terminology - Terminology
- Sakura - Sakura
- Roxterm - Roxterm

@ -571,7 +571,7 @@ program_start() {
tmuxinator start $session_name || \ tmuxinator start $session_name || \
tmux new-session -s $session_name'" tmux new-session -s $session_name'"
# note: st will work with or without the -e flag (like kitty) # note: st will work with or without the -e flag (like kitty)
if [[ $program =~ ^(urxvt|alacritty|xiatec|st$) ]]; then if [[ $program =~ ^(urxvt|alacritty|xiatec|st|qterminal$) ]]; then
program_command="$program_command -e bash -c $tmux_command" program_command="$program_command -e bash -c $tmux_command"
elif [[ $program == kitty ]]; then elif [[ $program == kitty ]]; then
program_command="$program_command bash -c $tmux_command" program_command="$program_command bash -c $tmux_command"

Loading…
Cancel
Save