summaryrefslogtreecommitdiff
path: root/src/kauw.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/kauw.nim
(/・・)ノ init
skeleton
Diffstat (limited to 'src/kauw.nim')
-rw-r--r--src/kauw.nim16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/kauw.nim b/src/kauw.nim
new file mode 100644
index 0000000..c1b0d4c
--- /dev/null
+++ b/src/kauw.nim
@@ -0,0 +1,16 @@
+import
+ /windowmanager,
+ logging, /logger
+
+proc main() =
+ let wm = createWindowManager()
+
+ if wm == nil:
+ consoleLog.log(lvlError, "failed to initialize window manager")
+ quit QuitFailure
+
+ wm.run()
+
+ quit QuitSuccess
+
+main() \ No newline at end of file