[dwm] Re: ImageMagick & display(1)

From: dtm <usrucb_AT_gmail.com>
Date: Wed, 16 Aug 2006 12:52:10 -0700

>>>>> "ARG" == Anselm R Garbe <arg_AT_10kloc.org> writes:

>> 2. In wmii I had a rule using the ImageMagick class to open
>> windows on the floating layer. Using the equivalent rule in
>> dwm doesn't seem to work, and opens a tiled image window.
>> Adding a rule for display(1) works fine.

    ARG> Use a regexp matching the WM_CLASS hints given by xprop(1).

Odd that this works in wmii-4:

    /ImageMagick.*/ -> ~

But this doesn't work in dwm:

    { "ImageMagick.*", NULL, True}

I noticed your xprop(1) comment in config.default.h. In case you're
interested, here's a version that only forks two processes:

    xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'

-- dtm
Received on Wed Aug 16 2006 - 23:10:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:12 UTC