[DWM] All floating apart from xterms

Hello,

Just wondering if anyone here knows a solution to this...

Basically I would like dwm to get every window to be set to floating by default except from xterm which should stay as tiling.

By rearranging the layout array and putting the NULL (float) layout on top, it sets everything to float by default but the xterms all float too even if I set their isFloating to false in the Rules array.

Any suggestions?

Best Regards,
 
s
Code:
tatic const Rule rules[] = {
    /* class        instance        title       tags mask     isfloating        monitor */
    {  NULL,         NULL,           NULL,       NULL,         True,             -1 },
    {  "XTerm",      NULL,           NULL,          0,         False,            -1 },
}
 
oops, forgot change the NULL under tags mask to 0. So you don't get
Code:
warning: initialization makes integer from pointer without a cast
when compiling.
 
Back
Top