AutoYADM commit: 2025-05-21 20:42:39
This commit is contained in:
parent
b0ef9796be
commit
fefa63d54b
3 changed files with 9 additions and 2 deletions
|
@ -12,7 +12,7 @@ define-command -hidden bar-buflist %{
|
|||
cur=$(printf '%s %s' "$index" "$buf")
|
||||
fi
|
||||
list="$list $cur"
|
||||
done <<<$(printf '%s\n' "$kak_buflist" | tr ' ' '\n')
|
||||
done <<<$(printf '%s\n' "$kak_buflist" | perl -nE 'say for /(\*[^*]+\*|\S+)/g')
|
||||
title="$list - $kak_client@[$kak_session]"
|
||||
printf "set-option -add global ui_options %%{terminal_title=%s}" "$title"
|
||||
}
|
||||
|
@ -21,3 +21,5 @@ define-command -hidden bar-buflist %{
|
|||
hook global WinDisplay .* bar-buflist
|
||||
hook global FocusIn .* bar-buflist
|
||||
hook global FocusOut .* bar-buflist
|
||||
hook global WinCreate .* bar-buflist
|
||||
hook global BufClose .* bar-buflist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue