diff options
Diffstat (limited to 'ranger/.config/ranger/colorschemes/z3bratabs.py')
-rw-r--r-- | ranger/.config/ranger/colorschemes/z3bratabs.py | 56 |
1 files changed, 27 insertions, 29 deletions
diff --git a/ranger/.config/ranger/colorschemes/z3bratabs.py b/ranger/.config/ranger/colorschemes/z3bratabs.py index decff9c..7b0ed70 100644 --- a/ranger/.config/ranger/colorschemes/z3bratabs.py +++ b/ranger/.config/ranger/colorschemes/z3bratabs.py @@ -4,7 +4,7 @@ from ranger.gui.colorscheme import ColorScheme from ranger.gui.color import * class z3bratabs(ColorScheme): - progress_bar_color = 8 + progress_bar_color = 6 def use(self, context): fg, bg, attr = default_colors @@ -18,87 +18,85 @@ class z3bratabs(ColorScheme): else: attr = normal if context.empty or context.error: - fg = 7 - bg = 8 + fg = 6 if context.border: - fg = 7 + fg = 6 if context.image: - fg = 10 + fg = 6 if context.video: - fg = 4 + fg = 6 if context.audio: fg = 6 if context.document: - fg = 8 - bg = 7 + fg = 6 if context.container: attr |= bold - fg = 8 + fg = 6 if context.directory: attr |= bold - fg = 7 + fg = 6 elif context.executable and not \ any((context.media, context.container, context.fifo, context.socket)): attr |= bold - fg = 4 + fg = 6 if context.socket: - fg = 3 + fg = 6 attr |= bold if context.fifo or context.device: - fg = 10 + fg = 6 if context.device: attr |= bold if context.link: - fg = context.good and 7 or 8 - bg = 8 + fg = context.good and 7 or 6 + bg = 6 if context.bad: fg = 1 if context.tag_marker and not context.selected: attr |= bold - if fg in (7, 8): - fg = 8 + if fg in (7, 6): + fg = 6 else: fg = 1 if not context.selected and (context.cut or context.copied): fg = 15 - bg = 8 + bg = 6 if context.main_column: if context.selected: attr |= bold if context.marked: attr |= bold - fg = 8 + fg = 6 if context.badinfo: if attr & reverse: - bg = 1 + bg = 6 else: fg = 7 elif context.in_titlebar: attr |= bold if context.hostname: - fg = context.bad and 8 or 7 - bg = 8 + fg = context.bad and 6 or 7 + bg = 6 elif context.directory: - fg = 8 + fg = 6 elif context.tab: if context.good: fg = 1 elif context.link: - fg = 8 + fg = 6 elif context.in_statusbar: if context.permissions: if context.good: fg = 7 - bg = 8 + bg = 6 elif context.bad: - fg = 8 + fg = 6 bg = 7 if context.marked: attr |= bold | reverse - fg = 8 + fg = 6 if context.message: if context.bad: attr |= bold @@ -119,7 +117,7 @@ class z3bratabs(ColorScheme): if context.in_taskview: if context.title: - fg = 8 + fg = 6 if context.selected: attr |= reverse @@ -159,4 +157,4 @@ class z3bratabs(ColorScheme): elif context.vcsunknown: fg = 11 - return fg, bg, attr
\ No newline at end of file + return fg, bg, attr |