AutoYADM commit: 2025-05-25 23:39:40
This commit is contained in:
parent
dadf5d2b3e
commit
cff1919f91
1 changed files with 7 additions and 8 deletions
|
@ -36,7 +36,6 @@ declare-option -docstring %{
|
||||||
} str bar_inactive_modified_fmt '%s %s+'
|
} str bar_inactive_modified_fmt '%s %s+'
|
||||||
define-command -hidden bar-buflist %{
|
define-command -hidden bar-buflist %{
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
#!/bin/sh
|
|
||||||
list=''
|
list=''
|
||||||
index=0
|
index=0
|
||||||
while read buf; do
|
while read buf; do
|
||||||
|
@ -60,12 +59,12 @@ EOF
|
||||||
|
|
||||||
title="$list - $kak_client@[$kak_session]"
|
title="$list - $kak_client@[$kak_session]"
|
||||||
printf "set-option -add global ui_options %%{terminal_title=%s}\n" "$title"
|
printf "set-option -add global ui_options %%{terminal_title=%s}\n" "$title"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# hook global WinDisplay .* bar-buflist
|
hook global WinDisplay .* bar-buflist
|
||||||
# hook global FocusIn .* bar-buflist
|
hook global FocusIn .* bar-buflist
|
||||||
# hook global FocusOut .* bar-buflist
|
hook global FocusOut .* bar-buflist
|
||||||
# hook global WinCreate .* bar-buflist
|
hook global WinCreate .* bar-buflist
|
||||||
# hook global BufWritePost .* bar-buflist
|
hook global BufWritePost .* bar-buflist
|
||||||
# hook global ModeChange .* bar-buflist
|
hook global ModeChange .* bar-buflist
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue