[misc] better git icons setup

This commit is contained in:
Klesh Wong 2020-12-01 11:36:45 +08:00
parent 59bb9d849b
commit 7b872eb266

View File

@ -7,39 +7,39 @@ from ranger.gui.widgets.browsercolumn import BrowserColumn
Widget.vcsstatus_symb = {
'conflict': (
'X ', ['vcsconflict']),
' ', ['vcsconflict']),
'untracked': (
'? ', ['vcsuntracked']),
' ', ['vcsuntracked']),
'deleted': (
'- ', ['vcschanged']),
' ', ['vcschanged']),
'changed': (
'+ ', ['vcschanged']),
' ', ['vcschanged']),
'staged': (
'* ', ['vcsstaged']),
' ', ['vcsstaged']),
'ignored': (
'· ', ['vcsignored']),
'sync': (
' ', ['vcssync']),
' ', ['vcssync']),
'none': (
' ', []),
'unknown': (
'! ', ['vcsunknown']),
' ', ['vcsunknown']),
}
Widget.vcsremotestatus_symb = {
'diverged': (
' Y', ['vcsdiverged']),
' |', ['vcsdiverged']),
'ahead': (
' >', ['vcsahead']),
' |', ['vcsahead']),
'behind': (
' <', ['vcsbehind']),
' |', ['vcsbehind']),
'sync': (
' =', ['vcssync']),
' |', ['vcssync']),
'none': (
'', ['vcsnone']),
' |', ['vcsnone']),
'unknown': (
' !', ['vcsunknown']),
' |', ['vcsunknown']),
}