X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=blobdiff_plain;f=config.py;h=2057a2bee3e6385f148d92cec2c44abc8a2ede42;hp=e12faa3f25da77544242624193936d3dc877a240;hb=HEAD;hpb=93cbdb7080c8fcbeea112dd4b6af888aa5103b91 diff --git a/config.py b/config.py index e12faa3..2057a2b 100644 --- a/config.py +++ b/config.py @@ -1,6 +1,7 @@ ############################################################################### # LIGHTCARDS DEFAULT CONFIG FILE # ############################################################################### +import curses ############################################################################### # STARTUP OPTIONS @@ -9,6 +10,8 @@ alphabetize = False shuffle = False reverse = False cache = True +table = False # set to integer or range +lenient = False default_view = 1 @@ -17,8 +20,9 @@ default_view = 1 progress_char = "»" -highlight_color = "green" -starred_color = "yellow" +highlight_color = curses.COLOR_CYAN +starred_color = curses.COLOR_YELLOW +error_color = curses.COLOR_RED ############################################################################### # KEYBINDINGS @@ -33,15 +37,26 @@ 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 -confirm_quit = True +quit_confirmation = True show_menu_at_end = True debug = False