]> Freerunner's - dotfiles.git/commitdiff
kak: update starship config
authorAndre Ramnitz <tux.rising@gmail.com>
Thu, 5 Sep 2024 13:48:49 +0000 (15:48 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Thu, 5 Sep 2024 13:48:49 +0000 (15:48 +0200)
config/dot-config/kak/starship.toml

index a699d8e5bae24436a8a39e06aed8b0dc9b51e92a..846bd1b0d4de46fda691d4005778d948144c427d 100644 (file)
@@ -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