X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=blobdiff_plain;f=config.py;h=2057a2bee3e6385f148d92cec2c44abc8a2ede42;hp=64296bbbb3e7d5c27c3f356f944555fad85e7589;hb=HEAD;hpb=dd109cb4a1b49f920e36e5732417c4a3d5582821 diff --git a/config.py b/config.py index 64296bb..2057a2b 100644 --- a/config.py +++ b/config.py @@ -1,6 +1,31 @@ -############### -# KEYBINDINGS # -############### +############################################################################### +# LIGHTCARDS DEFAULT CONFIG FILE # +############################################################################### +import curses + +############################################################################### +# STARTUP OPTIONS + +alphabetize = False +shuffle = False +reverse = False +cache = True +table = False # set to integer or range +lenient = False + +default_view = 1 + +############################################################################### +# APPEARANCE + +progress_char = "»" + +highlight_color = curses.COLOR_CYAN +starred_color = curses.COLOR_YELLOW +error_color = curses.COLOR_RED + +############################################################################### +# KEYBINDINGS card_prev = ["h", "KEY_LEFT"] card_next = ["l", "KEY_RIGHT"] @@ -12,7 +37,27 @@ card_last = ["$", "KEY_END"] help_disp = ["H", "?"] menu_disp = "m" +menu_reset = "y" +menu_alphabetize = "a" +menu_shuffle = "z" +menu_reverse = "t" +menu_unstar = "u" +menu_star = "d" +menu_stars_only = "s" +menu_open_file = "e" +menu_restart = "r" view_one = "1" view_two = "2" view_three = "3" + +quit_key = "q" + +############################################################################### +# OTHER + +quit_confirmation = True +show_menu_at_end = True +debug = False + +###############################################################################