mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-11-22 21:57:17 +00:00
This PR makes it so that a user can specify an automatic theme mode, to automatically switch between light and dark terminals based on what's detected. The user can then specify the light and dark themes (--theme-dark and --theme-light as args, and similarly via config). This approach isn't super original, and it's based on the approach used by bat (though not 100% the same). Note that this is done only at startup and not constantly checking. Co-authored-by: Clement Tsang <34804052+ClementTsang@users.noreply.github.com>