mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 10:20:50 +08:00

Upstream bump and add a patch to use a blue highlight color for the dark color scheme (--color dark) as some users find the default bright green is too intense. Note that invoking ncdu without the --color switch at use uses the upstream default bright green, so users will need to call ncdu with --color dark in order to get the blue color. Signed-off-by: John Audia <therealgraysky@proton.me>
27 lines
1.5 KiB
Diff
27 lines
1.5 KiB
Diff
--- a/src/util.h
|
|
+++ b/src/util.h
|
|
@@ -36,18 +36,18 @@
|
|
C(DEFAULT, _,_,0 , _, _, 0, WHITE, BLACK,0)\
|
|
C(BOX_TITLE, _,_,B , BLUE, _, B, BLUE, BLACK,B)\
|
|
C(HD, _,_,R , BLACK, CYAN, 0, BLACK, CYAN, 0) /* header & footer */\
|
|
- C(SEL, _,_,R , WHITE, GREEN,B, WHITE, GREEN,B)\
|
|
+ C(SEL, _,_,R , WHITE, BLUE,B, WHITE, GREEN,B)\
|
|
C(NUM, _,_,0 , YELLOW, _, B, YELLOW, BLACK,B)\
|
|
C(NUM_HD, _,_,R , YELLOW, CYAN, B, YELLOW, CYAN, B)\
|
|
- C(NUM_SEL, _,_,R , YELLOW, GREEN,B, YELLOW, GREEN,B)\
|
|
+ C(NUM_SEL, _,_,R , YELLOW, BLUE,B, YELLOW, GREEN,B)\
|
|
C(KEY, _,_,B , YELLOW, _, B, YELLOW, BLACK,B)\
|
|
C(KEY_HD, _,_,B|R, YELLOW, CYAN, B, YELLOW, CYAN, B)\
|
|
C(DIR, _,_,0 , BLUE, _, B, BLUE, BLACK,B)\
|
|
- C(DIR_SEL, _,_,R , BLUE, GREEN,B, BLUE, GREEN,B)\
|
|
+ C(DIR_SEL, _,_,R , BLUE, BLUE,B, BLUE, GREEN,B)\
|
|
C(FLAG, _,_,0 , RED, _, 0, RED, BLACK,0)\
|
|
- C(FLAG_SEL, _,_,R , RED, GREEN,0, RED, GREEN,0)\
|
|
+ C(FLAG_SEL, _,_,R , RED, BLUE,0, RED, GREEN,0)\
|
|
C(GRAPH, _,_,0 , MAGENTA,_, 0, MAGENTA,BLACK,0)\
|
|
- C(GRAPH_SEL, _,_,R , MAGENTA,GREEN,0, MAGENTA,GREEN,0)
|
|
+ C(GRAPH_SEL, _,_,R , MAGENTA, BLUE,0, MAGENTA,GREEN,0)
|
|
|
|
enum ui_coltype {
|
|
#define C(name, ...) UIC_##name,
|