Benjamin A. Beasley
ce856dbba7
Update etcetera to 0.11; no longer depend on home; MSRV 1.87
...
Release 0.11 of `etcetera` requires MSRV 1.87, in which
`std::env::home_dir` is no longer deprecated,
https://github.com/rust-lang/rust/pull/137327 .
Update to that MSRV and to `etcetera`, and drop the dependency on the
`home` crate just as `etcetera` 0.11 did.
2025-11-03 19:06:33 +01:00
Tau Gärtli
feb0bc1ae6
Update terminal-colorsaurus to 1.0
2025-07-22 07:15:52 +02:00
einfachIrgendwer0815
bc24ce9ad4
Fix clippy::needless_update warnings
2025-02-02 15:08:15 +01:00
einfachIrgendwer0815
6cf747678c
Fix clippy::needless_borrows_for_generic_args warnings
2025-02-02 15:08:11 +01:00
Tau Gärtli
280f3eeb4e
Fix name of BAT_THEME_{DARK,LIGHT} env vars
2025-01-09 08:20:36 +01:00
binchengqu
d27064cea5
chore: remove redundant word in comment
...
Signed-off-by: binchengqu <bincheng@before.tech >
2024-11-21 11:55:43 +08:00
Tau Gärtli
b747184788
Accept impl Into<String> to avoid cloning strings
2024-09-08 17:11:11 +02:00
Tau Gärtli
02ae6ef348
Remove redundant guard
2024-09-07 22:59:27 +02:00
Tau Gärtli
0ebb9cbfe2
Add Display impl
2024-09-07 21:57:27 +02:00
Tau Gärtli
f6cbee9e27
Update docs
2024-09-07 21:36:03 +02:00
Tau Gärtli
10e823c4b7
Rename internal function
2024-09-07 21:36:03 +02:00
Tau Gärtli
60e4027332
Expose theme env vars
2024-09-07 21:36:02 +02:00
Tau Gärtli
e075fee5bf
Add infallible constructor
2024-09-07 21:36:02 +02:00
Tau Gärtli
16d9b99f6c
Flatten preference enum
2024-09-04 21:18:29 +02:00
Tau Gärtli
50958472e5
Return theme alongside detected color scheme
2024-08-23 18:03:07 +02:00
Tau Gärtli
89ce060183
Update help, man page and completions
2024-08-18 20:32:59 +02:00
Tau Gärtli
bc42149a72
Merge color scheme options into theme / BAT_THEME
2024-08-18 14:59:14 +02:00
Tau Gärtli
b9b981f657
Generalize --detect-color-scheme to --color-scheme
2024-08-16 14:14:30 +02:00
Tau Gärtli
1b0a6da4be
Use new default_theme fn for --list-themes
2024-08-16 14:13:58 +02:00
Tau Gärtli
e8ca6ec7c3
Remove cargo feature
2024-08-16 14:13:18 +02:00
Tau Gärtli
6498615f5f
Improve upon the documentation
2024-08-16 14:13:18 +02:00
Tau Gärtli
30b0143ccf
Make default_theme pub
2024-08-16 14:13:17 +02:00
Tau Gärtli
ff81cfd584
Move actual detection into library
2024-08-16 14:13:16 +02:00
Tau Gärtli
cea45e05f3
Expose new theme selection in CLI
2024-08-16 14:12:22 +02:00
Tau Gärtli
cda363a3f7
Use default_theme() function from theme module
2024-08-16 14:09:38 +02:00
Tau Gärtli
1423dd9440
Choose theme based on the terminal's color scheme
2024-08-16 14:09:35 +02:00