From c7ea5819388d133b4d9e3044975a7f531b7bf027 Mon Sep 17 00:00:00 2001 From: Michael Welford Date: Tue, 31 Jul 2018 20:31:37 +0930 Subject: [PATCH] Fix up ranger colours. --- exa/EXA_COLORS | 1 + ranger/falcon.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exa/EXA_COLORS b/exa/EXA_COLORS index 884aa6b..b8a8333 100644 --- a/exa/EXA_COLORS +++ b/exa/EXA_COLORS @@ -16,4 +16,5 @@ # gd a deleted file in Git # gv a renamed file in Git # da a file's date +# xa is the special attribute export EXA_COLORS="uu=38;5;249:un=38;5;241:gu=38;5;245:gn=38;5;241:da=38;5;245:sn=38;5;7:sb=38;5;7:ur=38;5;3;1:uw=38;5;5;1:ux=38;5;1;1:ue=38;5;1;1:gr=38;5;249:gw=38;5;249:gx=38;5;249:tr=38;5;249:tw=38;5;249:tx=38;5;249:fi=38;5;248:di=38;5;253:ex=38;5;1:xa=38;5;10:*.png=38;5;4:*.jpg=38;5;4:*.gif=38;5;4" diff --git a/ranger/falcon.py b/ranger/falcon.py index 867e37e..ccf9cbb 100644 --- a/ranger/falcon.py +++ b/ranger/falcon.py @@ -39,11 +39,11 @@ class Solarized(ColorScheme): if context.container: fg = 61 if context.directory: - fg = 12 + fg = 253 elif context.executable and not \ any((context.media, context.container, context.fifo, context.socket)): - fg = 15 + fg = 1 attr |= bold if context.socket: fg = 136