auto colorscheme for kakoune

This commit is contained in:
Michael Chalupiak
2025-11-14 12:54:18 -05:00
parent 16169fbab4
commit 458a2dd1d6
8 changed files with 45 additions and 2656 deletions

View File

@@ -517,4 +517,10 @@ map -docstring 'next spell check' global spell n ':spell-next<ret>'
map -docstring 'spell check replacements' global spell r ':spell-replace<ret>'
map -docstring 'quit kakoune' global user q ':q!<ret>'
colorscheme carbonfox
try %{
colorscheme %sh{
ruby -e "time = Time.new; if time.hour < 20 and time.hour > 6 then puts 'dawnfox' else puts 'carbonfox' end"
}
} catch %{
colorscheme carbonfox
}