Home

Awesome

wmwm is a pure Go autotiling window manager for X11. It is very simple (2k loc) and lightweight

🚧 This project isn't actively developed anymore.
Nevertheless, it is a good starting point for anyone who wants to implement a window manager in Go.

My dual head setup

WMWM multihead setup

Basics

With wmwm you start with one window which takes full size of the screen. Next window will split screen into equal columns with the second window placed in the right column. Additional windows will be placed in the right column.

Windows in a column always have the same height. You can move windows within the column or from one column to another.

Windows and columns belong to workspaces. In wmwm you have eight workspaces (nine if external monitor is connected). You can easily move windows from one workspace to another.

What wmwm does have?

Installation

Precompiled binary is available for download. You can also compile it yourself:

git clone https://github.com/Zamony/wmwm.git
go build

You also need to update your ~/.xinitrc adding the following line exec ./wm where ./wm is the path to the compiled binary

Keybindings

Configuration

Configuration is done via command line arguments:

  -border-width     Border width of focused window
  -color            Background and border color (ex. "0xdedede")
  -debug            Outputs debug information to Stderr
  -exec value       Commands to execute at startup
  -launcher         A command to show application launcher (default "rofi -show run")
  -lock string      A command to lock screen (default "slock")
  -name-limit       Maximum length of workspace name
  -padding-bottom   Value of bottom padding (useful for panels and bars)
  -padding-top      Value of top padding (useful for panels and bars)
  -term string      A command to launch terminal emulator (default "xterm")

You may want to use panel or status bar with wmwm. I use tint2 with the configuration file available here