65 lines
1.3 KiB
Python
65 lines
1.3 KiB
Python
|
import os
|
||
|
|
||
|
OPENER = 'xdg-open'
|
||
|
PAGER = os.environ.get('PAGER', 'less')
|
||
|
EDITOR = os.environ.get('VISUAL', os.environ.get('EDITOR', 'vim'))
|
||
|
|
||
|
USE_INTERNAL_VIEWER = True
|
||
|
COUNT_DIRECTORIES = True
|
||
|
|
||
|
# Theme
|
||
|
SHOW_BUTTONBAR = True
|
||
|
|
||
|
PANEL_FG = 'default'
|
||
|
PANEL_BG = 'default'
|
||
|
REVERSE_FG = 'default'
|
||
|
REVERSE_BG = 'default'
|
||
|
SELECTED_FG = 'default'
|
||
|
SELECTED_BG = ('dark blue' if os.geteuid() else 'dark red')
|
||
|
|
||
|
MARKED_FG = 'dark magenta'
|
||
|
MARKSELECT_FG = 'black'
|
||
|
|
||
|
DIRECTORY_FG = 'white'
|
||
|
DIR_SYMLINK_FG = 'white'
|
||
|
EXECUTABLE_FG = 'light green'
|
||
|
SYMLINK_FG = 'light gray'
|
||
|
STALELINK_FG = 'light red'
|
||
|
DEVICE_FG = 'light magenta'
|
||
|
SPECIAL_FG = 'black'
|
||
|
ARCHIVE_FG = 'light magenta'
|
||
|
|
||
|
HOTKEY_FG = 'white'
|
||
|
HOTKEY_BG = 'black'
|
||
|
|
||
|
ERROR_FG = 'white'
|
||
|
ERROR_BG = 'dark red'
|
||
|
ERROR_TITLE_FG = 'yellow'
|
||
|
ERROR_FOCUS_FG = 'black'
|
||
|
ERROR_FOCUS_BG = 'light gray'
|
||
|
|
||
|
DIALOG_FG = 'black'
|
||
|
DIALOG_BG = 'light gray'
|
||
|
DIALOG_TITLE_FG = 'dark blue'
|
||
|
DIALOG_FOCUS_FG = 'black'
|
||
|
DIALOG_FOCUS_BG = 'dark cyan'
|
||
|
|
||
|
INPUT_FG = 'black'
|
||
|
INPUT_BG = 'dark cyan'
|
||
|
|
||
|
# Config for rnrview
|
||
|
TAB_SIZE = 4
|
||
|
|
||
|
# Theme for rnrview
|
||
|
TEXT_FG = 'white'
|
||
|
TEXT_BG = 'default'
|
||
|
NAMESPACE_FG = 'light green'
|
||
|
KEYWORD_FG = 'yellow'
|
||
|
CLASS_FG = 'dark red'
|
||
|
OPERATOR_FG = 'white'
|
||
|
STRING_FG = 'dark cyan'
|
||
|
LITERAL_FG = 'light magenta'
|
||
|
COMMENT_FG = 'dark cyan'
|
||
|
LINENO_FG = 'white'
|
||
|
|