AutoYADM commit: 2025-05-29 18:40:15

This commit is contained in:
Daniel Fichtinger 2025-05-29 18:40:15 -04:00
parent 45767c4336
commit 393a8559d3

View file

@ -43,8 +43,8 @@ define-command -hidden bar-buflist %{
index=0
while read buf; do
if [ "$buf" = '*debug*' ]; then
# continue
foo=bar
continue
# foo=bar
fi
index=$((index + 1))
if [ "$buf" = "$kak_bufname" ]; then
@ -62,12 +62,10 @@ done <<EOF
EOF
title="$list - $kak_client@[$kak_session]"
# notify-send "runs"
# printf "set-option -add global ui_options %%{terminal_title=%s}; nop %%sh{ notify-send 'arrived' }" "$title"
printf "eval -verbatim set-option -add global ui_options %%{terminal_title=%s}" "$title" | kak -p ${kak_session}
# printf "eval -try-client '%s' -verbatim set-option -add global ui_options %%{terminal_title=%s}\n" "$kak_client" "$title" | kak -p ${kak_session}
# printf "eval -verbatim set-option -add window ui_options %%{terminal_title=%s}" "$title" | kak -p ${kak_session}
printf "eval -try-client '%s' -verbatim set-option -add global ui_options %%{terminal_title=%s}\n" "$kak_client" "$title" | kak -p ${kak_session}
# printf "echo -debug '%s'" "$title" | kak -p ${kak_session}
} # > /dev/null 2>&1 < /dev/null &
} > /dev/null 2>&1 < /dev/null &
}
}