From: Andre Ramnitz Date: Thu, 5 Sep 2024 13:48:49 +0000 (+0200) Subject: kak: update starship config X-Git-Tag: v0.2~104 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=5dbd396a3b44bb321cdb7481478bcf7040e818a8;p=dotfiles.git kak: update starship config --- diff --git a/config/dot-config/kak/starship.toml b/config/dot-config/kak/starship.toml index a699d8e5..846bd1b0 100644 --- a/config/dot-config/kak/starship.toml +++ b/config/dot-config/kak/starship.toml @@ -1,5 +1,6 @@ add_newline = false format = """\ +${custom.kakbuflist}\ ${custom.kaklsp_progress}\ ${custom.kakcursor}\ ${custom.kakposition}\ @@ -281,3 +282,12 @@ style = "bright-white bold" when = '[ -n "$kak_opt_lsp_modeline_progress" ]' shell = ['sh'] disabled = false + +[custom.kakbuflist] +description = "Open buffers" +format = "[ $output ]($style)" +style = "fg:white" +when = 'true' +shell = ['sh'] +command = 'kks get -s ${kak_session##*/} %val{buflist} | grep -vE "(\*debug\*|${kak_buffile##*/})" | paste -s -d "|" ' +disabled = false