diff options
author | Chuancong Gao <chuanconggao@users.noreply.github.com> | 2018-03-27 14:45:39 -0700 |
---|---|---|
committer | Chuancong Gao <chuanconggao@users.noreply.github.com> | 2018-03-29 15:51:51 -0700 |
commit | 703a9a20a640ee53080c9b3c405ae55f652b70e5 (patch) | |
tree | 3d926a62e8d79a79a8ae543feb0fca9cd46a4f44 | |
parent | f855979587bd918f0d32c0caba79ab4b4aa531cf (diff) | |
download | ranger-703a9a20a640ee53080c9b3c405ae55f652b70e5.tar.gz |
Update VCS symbols
-rw-r--r-- | ranger/colorschemes/default.py | 2 | ||||
-rw-r--r-- | ranger/gui/widgets/__init__.py | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/ranger/colorschemes/default.py b/ranger/colorschemes/default.py index c88cdc7c..350c8359 100644 --- a/ranger/colorschemes/default.py +++ b/ranger/colorschemes/default.py @@ -138,6 +138,8 @@ class Default(ColorScheme): attr &= ~bold if context.vcsconflict: fg = magenta + elif context.vcsuntracked: + fg = cyan elif context.vcschanged: fg = red elif context.vcsunknown: diff --git a/ranger/gui/widgets/__init__.py b/ranger/gui/widgets/__init__.py index 36292103..c8f1262b 100644 --- a/ranger/gui/widgets/__init__.py +++ b/ranger/gui/widgets/__init__.py @@ -12,11 +12,11 @@ class Widget(Displayable): 'conflict': ( 'X', ['vcsconflict']), 'untracked': ( - '+', ['vcschanged']), + '?', ['vcsuntracked']), 'deleted': ( '-', ['vcschanged']), 'changed': ( - '*', ['vcschanged']), + '+', ['vcschanged']), 'staged': ( '*', ['vcsstaged']), 'ignored': ( @@ -26,7 +26,7 @@ class Widget(Displayable): 'none': ( ' ', []), 'unknown': ( - '?', ['vcsunknown']), + '!', ['vcsunknown']), } vcsremotestatus_symb = { @@ -41,7 +41,7 @@ class Widget(Displayable): 'none': ( '⌂', ['vcsnone']), 'unknown': ( - '?', ['vcsunknown']), + '!', ['vcsunknown']), } ellipsis = {False: '~', True: '…'} |