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>
Make it so our own gpu feature flag controls the sysinfo one, since that's causing the Android build to fail.
Also bumps cross to cross-rs/cross@a9301e9.
This apparently changes the preference directory to use `RoamingAppData` rather than `LocalAppData` (https://codeberg.org/dirs/dirs-rs#7); I don't think this affects me though as I don't find any usage of it.
Adds back the audit workflow using [`audit-check`](https://github.com/rustsec/audit-check). This also adds a drive-by update for `anyhow` to `1.0.104` since it was hitting an unsound warning.