From ArchWiki
Revision as of 05:37, 8 July 2010 by Itsbrad212 (talk | contribs) (Set Volume Up/Down Hotkeys)
Jump to: navigation, search


Catwm is a small, light weight window manager created by pyknite. It was first announced in this ( forum post.


Method 1

This requires git.

First, download the PKGBUILD from Then, as a non-root user, run:

$ makepkg

while in the directory of the saved PKGBUILD. All the files will be retrieved and the package will be built. Then run:

# pacman -U catwm*.pkg.xz

to install the package.

Method 2

If for some reason method one fails, try this one. Visit the official github page ( and download each file.

Before you compile catwm, you may want to skip to the Configuration section to configure it.

Then, while in the directory as the downloaded files, run the following as a non-root user:

$ make

Then, run the following as root:

# make install
# make clean


Catwm uses it's config.h file for configuration. By default, some hotkeys are already set (Note: the default MOD key is the Alt key):

  • MOD + h (decrease the size of a current window)
  • MOD + l (increase the size of a current window)
  • MOD + x (close current window)
  • MOD + j (change to next window)
  • MOD + Tab (change to next window)
  • MOD + k (change to previous window)
  • MOD + j (change to next window)
  • MOD + Enter (change master to current window)
  • MOD + Space (switch mode/maximize)
  • MOD + c (lock - requires slock)
  • MOD + p (open dmenu - requires dmenu)
  • MOD + Shift + Return (open urxvt - requires urxvt)
  • MOD + Left (previous desktop)
  • MOD + Right (next desktop)
  • MOD + 0-9 (change to desktop #)
  • MOD + q (quit catwm)

Set Volume Up/Down Hotkeys

NOTE: This requires amixer, provided by alsa-utils

You must set hotkeys in config.h to point to volup and voldow. Here is an example:

{ MOD|ShiftMask, XK_Right, spawn, {.com = voldown}},
{ MOD|ShiftMask, XK_Left, spawn, {.com = volup}},

That would set hotkeys that make Mod+Shift+Left lower the volume and Mod+Shift+Right raise the volume according to whatever volup and voldown are set to.