From 8bb8c14ea3d64f968da91460ca7a0edda28ac317 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 11 Feb 2022 22:24:06 -0300 Subject: [PATCH] kak: Usar modo oscuro si el tema es oscuro --- .config/kak/kakrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/kak/kakrc b/.config/kak/kakrc index ffe9d8c..db97e0e 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -7,7 +7,14 @@ set global scrolloff 5,5 set-option global ui_options terminal_assistant=off -colorscheme grayscale-superiority +eval %sh{ + . ~/.config/river/colors + if test "$dark" = true; then + echo "colorscheme selenized-black" + else + echo "colorscheme grayscale-superiority" + fi +} eval %sh{kak-lsp --kakoune -s $kak_session} set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"