summaryrefslogtreecommitdiff
path: root/src/config.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.nim')
-rw-r--r--src/config.nim29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/config.nim b/src/config.nim
new file mode 100644
index 0000000..23bd093
--- /dev/null
+++ b/src/config.nim
@@ -0,0 +1,29 @@
+import types
+
+# settings, or something along those lines
+# currently unused
+const
+ # default mod key, run xmodmap to see what the mod keys are on your current keyboard layout
+ # Mod1 is alt and Mod4 is super
+ modifier* = "mod1"
+
+ # if it isn't obvious, hex values go here
+ colours* = (
+ focused: 0xFBFDFF,
+ unfocused: 0x9BCDFF,
+ background: 0x232323)
+
+ # store keybindings here
+ keybindings*: seq[Key] = @[
+ closeWindow.initKey(
+ keys = @["c"],
+ mods = @[modifier, "shift"]),
+
+ nextWindow.initKey(
+ keys = @["tab"],
+ mods = @[modifier]),
+
+ spawnCustom.initKey(
+ keys = @["return"],
+ mods = @[modifier],
+ "st")] \ No newline at end of file