Window matches. by Monkiboi

This file is pretty straight forward and allows you to have different borders depending on the application or title displayed.

USE_BORDER_FOR_CLIENT_WITH_TITLE("WINDOW_TITLE", "BORDER NAME")

The WINDOW_TITLE is simply the name an application shows on the border i.e.

USE_BORDER_FOR_CLIENT_WITH_TITLE("The GIMP", "PAGER_LEFT") or USE_BORDER_FOR_CLIENT_WITH_TITLE("Eterm-0.9", "PAGER_LEFT")

Wildcards (*) are also allowed where part of the name may change as the content of the window changes

USE_BORDER_FOR_CLIENT_WITH_TITLE("DOX:*", "PAGER_RIGHT")

Window classes may also be specified as in:

USE_BORDER_FOR_CLIENT_WITH_CLASS(CLASS, BORDER_NAME)

A windows "class" may be found using by typing "xprop" into a terminal and then clicking on the window whose class you need to know. It should show as WM_CLASS. I'm a little vague here as I've never bothered to set borders with classes.

This tutorial is available in a pdf format

| Home | To the top of this tutorial |

Page last updated: 06/10/04