summaryrefslogtreecommitdiff
path: root/src/keys.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys.nim')
-rw-r--r--src/keys.nim19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/keys.nim b/src/keys.nim
deleted file mode 100644
index a56412a..0000000
--- a/src/keys.nim
+++ /dev/null
@@ -1,19 +0,0 @@
-type
- KeyFunc* = enum
- closeWindow,
- nextWindow,
- setMaster,
- spawnCustom
-
- Key* = object
- mods*: cuint
- key*: string
- keyfunc*: KeyFunc
- command*: string
-
-proc initKey* (keyfunc: KeyFunc, mods: cuint, key: string, command = ""): Key =
- return Key(
- mods: mods,
- key: key,
- command: command,
- keyfunc: keyfunc) \ No newline at end of file