diff options
author | kitty piapiac <kcp@bsd.computer> | 2020-08-08 17:11:11 -0700 |
---|---|---|
committer | kitty piapiac <kcp@bsd.computer> | 2020-08-08 17:11:11 -0700 |
commit | 276671e2d5fc00ff61c82701cbb2d8fbff7ae2f1 (patch) | |
tree | 936d4ceace6ea48528be112cdbaf663ec880ac4c | |
parent | ddfdac5c2f1a53e96c4c7b6c73f0cdd4fb34235b (diff) |
(.づ◡﹏◡)づ replace README.md with README.adoc
testing asciidoc instead of markdown
-rw-r--r-- | README.adoc | 55 | ||||
-rw-r--r-- | README.md | 38 | ||||
-rw-r--r-- | src/windowmanager.nim | 2 |
3 files changed, 56 insertions, 39 deletions
diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..f5f7067 --- /dev/null +++ b/README.adoc @@ -0,0 +1,55 @@ += (/・・)ノ kauw window manager +fox-cat <fox@confuck.com> + +:hardbreaks: +:1: https://nim-lang.org +:2: link:src/config.def.nim +:3: https://wiki.archlinux.org/index.php/Xephyr +:4: link:TODO + +kauw is an expiremental tiling window manager built for x11 using nim +currently it is very minimal, but more features are planned/ hoped for + +.goals (・・;) +**** +i have a few goals in mind while working on this project +* be written and configured entirely in {1}[nim] +* be easily configurable +* be easily hackable +* be fairly small and minimalist +* help myself learn and get around x11 +**** + +.(。ヘ°) configuration +**** +the default configuration file is {2}[`config.def.nim`] +duplicate it and rename it to `config.nim`, and you can configure it from there +**** + +.development ⊂(・ヮ・⊂) +**** +clone using +[source, bash] +---- +$ git clone https://github.com/fox-cat/kauw +$ cd kauw +---- +you can build using +[source, bash] +---- +$ nimble build +---- +and you can test using {3}[Xephyr] +[source, bash] +---- +$ Xephyr -ac -screen 1980x1080 -br -reset -terminate 2> /dev/null :2 & +$ DISPLAY=:1 ./kauw +---- +**** + +.(.づ◡﹏◡)づ. todo +**** +see {4}[TODO] +**** + +image::img/kauw.png[kauw]
\ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 9ac352e..0000000 --- a/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# (/・・)ノ kauw window manager -kauw is an expiremental tiling window manager built for x11 using nim - -currently it is but a skeleton of what's to come - -## goals (・・;) -i have a few goals in mind while writing this project -- written and configured fully in [nim] -- easily configurable -- easily hackable -- be small and fairly minimalist -- help myself learn nim and get around x11 - -## config -the default config is [src/config.def.nim]; you can duplicate it (and be sure to rename it to config.nim) and make changes to your liking - -## development -clone using -``` -$ git clone https://github.com/fox-cat/kauw -$ cd kauw -``` -build using -``` -$ nimble build -``` -and you can test using [xephyr] -``` -$ Xephyr -ac -screen 1980x1080 -br -reset -terminate 2> /dev/null :2 & -$ DISPLAY=:1 ./kauw -``` - -## TODO -see [TODO] - -[nim]: https://nim-lang.org/ -[xephyr]: https://wiki.archlinux.org/index.php/Xephyr -[TODO]: TODO
\ No newline at end of file diff --git a/src/windowmanager.nim b/src/windowmanager.nim index 1bda674..de4640c 100644 --- a/src/windowmanager.nim +++ b/src/windowmanager.nim @@ -234,7 +234,7 @@ proc tileWindows (wm: WindowManager) = c = if wm.focused == i: focused else: unfocused discard wm.display.XSetWindowBorder(wm.clients[i], c) - + # Events proc onCreateNotify (wm: WindowManager, e: PXCreateWindowEvent) = return proc onDestroyNotify (wm: WindowManager, e: PXDestroyWindowEvent) = return |