diff --git a/.config/kak/autoload/title.kak b/.config/kak/autoload/title.kak index 0e690279..1a5dbe75 100644 --- a/.config/kak/autoload/title.kak +++ b/.config/kak/autoload/title.kak @@ -36,7 +36,6 @@ declare-option -docstring %{ } str bar_inactive_modified_fmt '%s %s+' define-command -hidden bar-buflist %{ evaluate-commands %sh{ -#!/bin/sh list='' index=0 while read buf; do @@ -60,12 +59,12 @@ EOF title="$list - $kak_client@[$kak_session]" printf "set-option -add global ui_options %%{terminal_title=%s}\n" "$title" - } +} } -# hook global WinDisplay .* bar-buflist -# hook global FocusIn .* bar-buflist -# hook global FocusOut .* bar-buflist -# hook global WinCreate .* bar-buflist -# hook global BufWritePost .* bar-buflist -# hook global ModeChange .* bar-buflist +hook global WinDisplay .* bar-buflist +hook global FocusIn .* bar-buflist +hook global FocusOut .* bar-buflist +hook global WinCreate .* bar-buflist +hook global BufWritePost .* bar-buflist +hook global ModeChange .* bar-buflist