Commit Graph
6 Commits
Author SHA1 Message Date
Rashil GandhiandClement Tsang 0ccee6233b feature: use light variant of theme automatically when terminal background is light (#1843)
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>
2026-11-21 23:12:43 -05:00
Clement Tsang 70d0a6cbf7 ci: update jsonschema to 0.26.1 for schema validation (#1637)
* ci: update jsonschema to 0.26.1 for schema validation

* make sure to rerun schema validation
2024-11-29 20:29:30 +00:00
Clement Tsang 196d6d18c6 feature: add the ability to configure the disk widget's table columns (#1625)
* a bit of refactoring here...

* some refactoring, add columns

* cleanup

* add disk column feature

* update changelog
2024-11-18 02:28:20 +00:00
Clement Tsang 449d8b4315 ci: update and fix schema validation script (#1509)
* ci: update and fix schema validation script

* fix issue with tomllib.load
2024-07-29 19:11:40 -04:00
Clement Tsang 3602429529 other: add schema test for uncommented default config (#1484)
* other: add schema test for uncommented default time

* ahhh

* forgot to disable this
2024-06-17 00:59:36 -04:00
Clement Tsang 0b92679e16 other: add v1 schema + versioning + tests (#1407)
* other: add v1.0 schema

* add tests, rename some files for consistency
2024-02-04 06:26:24 -05:00