summaryrefslogtreecommitdiff
path: root/src/config.nim
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2020-07-28 04:17:21 -0700
committerkitty piapiac <kcp@bsd.computer>2020-07-28 04:17:21 -0700
commit679401626886be97a546f18d54a8d1842011f564 (patch)
tree16fab1ab5314cd5fe0df0f67b2bd6fca8801fd0c /src/config.nim
(/・・)ノ init
skeleton
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