]> git.armaanb.net Git - lightcards.git/blobdiff - config.py
Remove CursesError exception
[lightcards.git] / config.py
index 46d6bf0761805faed8ae477ed06bc581c3d12a0b..2057a2bee3e6385f148d92cec2c44abc8a2ede42 100644 (file)
--- a/config.py
+++ b/config.py
@@ -1,6 +1,7 @@
 ###############################################################################
 # LIGHTCARDS DEFAULT CONFIG FILE                                              #
 ###############################################################################
+import curses
 
 ###############################################################################
 # STARTUP OPTIONS
@@ -9,21 +10,19 @@ alphabetize = False
 shuffle = False
 reverse = False
 cache = True
+table = False  # set to integer or range
+lenient = False
 
 default_view = 1
 
 ###############################################################################
 # APPEARANCE
 
-disp_progress = True
 progress_char = "ยป"
-disp_sidebar = True
-disp_bar = True
 
-bar_sections = ["starred_status", "starred_count", "side", "view"]
-
-highlight_color = "green"
-starred_color = "yellow"
+highlight_color = curses.COLOR_CYAN
+starred_color = curses.COLOR_YELLOW
+error_color = curses.COLOR_RED
 
 ###############################################################################
 # KEYBINDINGS
@@ -38,15 +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
 
-confirm_quit = True
+quit_confirmation = True
+show_menu_at_end = True
 debug = False
 
 ###############################################################################