Re: [dwm] [PATCH] Separate border colors for floating windows

From: Stanislav Maslovski <stanislav.maslovski_AT_gmail.com>
Date: Tue, 26 Jun 2007 14:51:19 +0400

On Tue, Jun 26, 2007 at 11:37:46AM +0200, Sander van Dijk wrote:
> On 6/26/07, Stanislav Maslovski <stanislav.maslovski_AT_gmail.com> wrote:
> >Hello,
> >
> >I propose this small change. It allows to use separate border colors for
> >floating windows. If needed I will send a screenshot that shows the use of
> >it:
>
> May I ask what you want this for? Floating windows are already
> distinguished by the little square in their title, and their
> non-restricted size and position usually gives them away too.

Please look at these two screenshots:
http://download1-5.files-upload.com/2007-06/26/11/dwm_different_border_colors.png
http://download1-5.files-upload.com/2007-06/26/11/dwm_same_border_colors.png

Here are the colors as defined in my config.h

#define NORMBORDERCOLOR "#bebebe"
#define NORMBGCOLOR "#bebebe"
#define NORMFGCOLOR "#000000"
#define SELBORDERCOLOR "#ff0000"
#define SELBGCOLOR "#005588"
#define SELFGCOLOR "#ffffff"
#define FLOATNORMBORDERCOLOR "#005588"
#define FLOATSELBORDERCOLOR "#ff0000"

I set NORMBORDERCOLOR to the background color of my GTK2 theme so that
the tiled windows visually appear "glued" together (there is no visible
border). At the same time I want the floating windows that have a border.

In case those direct links do not work try these:
http://files-upload.com/324937/dwm_different_border_colors.png.html
http://files-upload.com/324936/dwm_same_border_colors.png.html

Sorry for using such a service, unfortunately this mailing list blocks large
attachments.

-- 
Stanislav
Received on Tue Jun 26 2007 - 12:51:25 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:45:08 UTC