On Wed, Aug 16, 2006 at 12:52:10PM -0700, dtm wrote:
> >>>>> "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}
This is because wmii-4 takes the window name into account, but
dwm takes only class/instance info into account since window
names are kind of arbitrary.
> xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'
applied
Regards,
-- Anselm R. Garbe ><>< www.ebrag.de ><>< GPG key: 0D73F361Received on Thu Aug 17 2006 - 09:40:55 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:12 UTC