Home

Awesome

cocowm

cocowm is a Column Commander Window Manager for X11 Window System that specializes in automating layout management by arranging program windows automatically in columns. Therefore, cocowm is a tiling window manager and in particular is most inspired by the Plan9 acme editor, as well as the Plan B operating system's GUI.

A key differentiation of cocowm as compared to other window managers is that cocowm is oriented towards receiving high-level commands from the user, such as "move window to left", via a keyboard shortcut, which moves a window one column to the left and resizes if space allows for it, rather than by manually micro-managing precise placement and size using a mouse.

Controls

cocowm is fully controllable using keyboard and partially controllable using mouse.

Edit keyboard.c to modify default key bindings.

cocowm is used best when windows are explicitly created by the user using cocowm command line via Win+Enter or Win+Space.

So, for example, don't ask your browser to create a new window, but ask cocowm to do it.

cocowm tries to help in selecting the correct program using the following magic:

Running commands

Open the prompt via Win+Enter or Win+Space. Exit the prompt using Esc (cancel) or Enter (launch).

Edit action.c to modify these.

Focusing windows

Moving the focused window

Actions for the focused window

Minimize means window is explicitly hidden and needs to be reopened manually.

Hide means window is temporarily hidden and is shown automatically when hiding is toggled off.

Managing the window manager.

Dependencies

Compiling

$ ./configure ~
$ make
$ make install

Customizing

Customize using .Xresources / .Xdefaults

Have the .Xresources or.Xdefaults file, based on what your system reads when logging in to X11 session, or read it manually.

The file could look like this:

*font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
*foreground: black
*background: #f5efe0
*internalBorder: 4

Load it:

$ xrdb -load ~/.Xdefaults

And restart cocowm.

Running

Running with 3 columns:

$ cocowm 3

See also