From 679401626886be97a546f18d54a8d1842011f564 Mon Sep 17 00:00:00 2001 From: kitty piapiac Date: Tue, 28 Jul 2020 04:17:21 -0700 Subject: =?UTF-8?q?(/=E3=83=BB=E3=83=BB)=E3=83=8E=20init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit skeleton --- src/config.nim | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/config.nim (limited to 'src/config.nim') 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 -- cgit v1.2.3