Back to main page
summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorMax <mahn.maxwell@gmail.com>2021-10-25 12:51:26 -0400
committerMax <mahn.maxwell@gmail.com>2021-10-25 12:51:26 -0400
commit91f766aa78037c33d662e3d3590f1c26a9af960a (patch)
tree8b29acd1f80c698d084434efab1a7c4d84322821 /config.py
initial commitHEADmain
Diffstat (limited to 'config.py')
-rw-r--r--config.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..d653fba
--- /dev/null
+++ b/config.py
@@ -0,0 +1,28 @@
+import curses
+class config:
+ # KEYBINDINGS
+
+ # Q
+ key_quit = [81]
+ # h a left
+ key_left = [104, 97, 68]
+ # l d right
+ key_right = [108, 100, 67]
+ # j s down
+ key_down = [106, 115, 66]
+ # k w up
+ key_up = [107, 119, 65]
+ # enter, space
+ key_enter = [curses.KEY_ENTER, 32]
+ # m
+ key_help = [109]
+
+
+ # COLORS
+
+ # default
+ curses.init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLACK)
+ # selected
+ curses.init_pair(2, curses.COLOR_CYAN, curses.COLOR_BLACK)
+ # info
+ curses.init_pair(3, curses.COLOR_YELLOW, curses.COLOR_BLACK)