summaryrefslogtreecommitdiff
path: root/src/kauw.nim
diff options
context:
space:
mode:
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