summaryrefslogtreecommitdiff
path: root/src/config.def.nim
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2020-08-10 01:41:31 -0700
committerkitty piapiac <kcp@bsd.computer>2020-08-10 01:41:31 -0700
commit1ff1a0f51255958e83ee7c3f17fd0be8c628fc51 (patch)
tree7036f3685c67ba45cfc34dff5449569a8bd80047 /src/config.def.nim
parent90c3fb297e2992cd311e85a236d3fef754296591 (diff)
some stuff
Diffstat (limited to 'src/config.def.nim')
-rw-r--r--src/config.def.nim13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/config.def.nim b/src/config.def.nim
index c72d8e6..d62caf7 100644
--- a/src/config.def.nim
+++ b/src/config.def.nim
@@ -1,6 +1,6 @@
-import /keys, x11/x
+import objects, x11/x
-# settings, or something along those lines
+# config
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
@@ -12,17 +12,16 @@ const
unfocused: "#295eb3",
background: "#232323")
- init* = @[
- "xsetroot -solid \"" & colours.background & "\""]
-
# in pixels
frameWidth* = 2
+ init* = @[
+ "xsetroot -solid \"" & colours.background & "\""]
+
# store keybindings here
keybindings*: seq[Key] = @[
# alt + shift + q will close the focused window
- initKey(
- closeWindow,
+ initKey( closeWindow,
key = "q",
mods = modifier or ShiftMask),