1
0
Fork 0

use plain terminal and new instead of x11

This commit is contained in:
Andrey Orst 2019-03-27 20:06:28 +03:00
parent 43f60b2473
commit a707856f93

View file

@ -88,13 +88,13 @@ fzf-window -params .. %{ try %sh{
if [ -n "$kak_client_env_TMUX" ]; then if [ -n "$kak_client_env_TMUX" ]; then
printf "%s\n" 'tmux-terminal-window kak -c %val{session} -e "%arg{@}"' printf "%s\n" 'tmux-terminal-window kak -c %val{session} -e "%arg{@}"'
else else
printf "%s\n" 'x11-terminal kak -c %val{session} -e "%arg{@}"' printf "%s\n" 'terminal kak -c %val{session} -e "%arg{@}"'
fi fi
} catch %sh{ } catch %sh{
if [ -n "$kak_client_env_TMUX" ]; then if [ -n "$kak_client_env_TMUX" ]; then
printf "%s\n" 'tmux-new-window "%arg{@}"' printf "%s\n" 'tmux-new-window "%arg{@}"'
else else
printf "%s\n" 'x11-new "%arg{@}"' printf "%s\n" 'new "%arg{@}"'
fi fi
}} }}