The not-so-tiny window manager
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README
annotated.c
annotated.py
nstwm.c
nstwm.py
util.py

README

NotSoTinyWM is written by Aleksi Torhamo <aleksi@torhamo.net>.
It is based on TinyWM, which is written by Nick Welch <nick@incise.org>.

This software is in the public domain and is provided AS IS, with NO WARRANTY.

NotSoTinyWM is a small window manager that tries to do the bare minimum to
get the job done. It has a base that is (nearly) identical to TinyWM,
which allows you to move, resize, and raise windows. It has the default
sloppy focus and no decorations or anything like that, which means moving
and resizing windows has to be done with weird key combinations.

Various features are built on top of the base, and they coexist with it. Every
feature is built on top of the bare minimum which can support it, so you can
see how to implement specific features. Decorations are implemented on top of
the base, and transparent decorations on top of the decorations. That is, the
original features aren't replaced by the "improved" ones.

NotSoTinyWM's idea is to show how to implement various features in a window
manager, with as little distractions as possible.

Files:

  Makefile: for building nstwm.c
  nstwm.c: the c version of the code
  annotated.c: same, but with tons of rambling comments about everything
  nstwm.py: the python version of the code
  annotated.py: same, but with light comments

Features:

  Focus follows pointer.
  Alt+Button1, drag: interactive window move
  Alt+Button3, drag: interactive window resize
  Alt+F1: raise focused window

Misc:

  The homepage for NotSoTinyWM is at:

    http://alexer.net/nstwm

  The homepage for TinyWM is at:

    http://incise.org/tinywm.html