aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
-rw-r--r--a.out0
-rwxr-xr-xstart.sh5
-rwxr-xr-xxneststart2
4 files changed, 17 insertions, 2 deletions
diff --git a/README.md b/README.md
index 96297fb..84785c2 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,14 @@
hi :D
this is a very simple xorg window manager written in go
+
+to build
+
+```sh
+go build
+```
+
+there is a script that will start a xephyr server, build and run the wm too:
+
+```sh
+./start.sh
+```
diff --git a/a.out b/a.out
deleted file mode 100644
index e69de29..0000000
--- a/a.out
+++ /dev/null
diff --git a/start.sh b/start.sh
new file mode 100755
index 0000000..368faf0
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+Xephyr -screen 1280x800 :2 &
+go build
+DISPLAY=:2 ./wm
+pkill Xephyr
diff --git a/xneststart b/xneststart
deleted file mode 100755
index fd316a3..0000000
--- a/xneststart
+++ /dev/null
@@ -1,2 +0,0 @@
-Xephyr :2 -screen 1280x800 &
-DISPLAY=:2 ./wm \ No newline at end of file