]> git.armaanb.net Git - lightcards.git/blobdiff - config.py
Remove CursesError exception
[lightcards.git] / config.py
index 64296bbbb3e7d5c27c3f356f944555fad85e7589..2057a2bee3e6385f148d92cec2c44abc8a2ede42 100644 (file)
--- 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
+
+###############################################################################