[dwm] floating windows

From: Jan Christoph Ebersbach <dwm_AT_e-jc.de>
Date: Fri, 9 Feb 2007 23:30:01 +0100

Hi, thanks for the nice window manager - I came from ion, used wmii for
a long time and was attracted by the speed and master-window-idea of
dwm.

I only miss a comfortable way to deal with floating windows.
- moving and resizing with keyboard shortcuts
- (un)hide selected/all floating windows
- and an intelligent placement of new windows

I wrote a small patch for moving and resizing. - It misuses arg->i
heavily :/

Bye.

Jan Christoph

PS: I added the following to my config.h
PPS: I use Mod4 as MODKEY
        { MODKEY|Mod1Mask, XK_h, moveresize, { .i = 5 | MOVEX | NEGATIVE } }, \
        { MODKEY|Mod1Mask, XK_l, moveresize, { .i = 5 | MOVEX } }, \
        { MODKEY|Mod1Mask, XK_j, moveresize, { .i = 5 | MOVEY } }, \
        { MODKEY|Mod1Mask, XK_k, moveresize, { .i = 5 | MOVEY | NEGATIVE } }, \
        { MODKEY, XK_h, moveresize, { .i = 25 | MOVEX | NEGATIVE } }, \
        { MODKEY, XK_l, moveresize, { .i = 25 | MOVEX } }, \
        { MODKEY, XK_j, moveresize, { .i = 25 | MOVEY } }, \
        { MODKEY, XK_k, moveresize, { .i = 25 | MOVEY | NEGATIVE } }, \
        { MODKEY|ControlMask, XK_h, moveresize, { .i = 0 | MOVEX | ABSOLUTE } }, \
        { MODKEY|ControlMask, XK_l, moveresize, { .i = 9000 | MOVEX | ABSOLUTE } }, \
        { MODKEY|ControlMask, XK_j, moveresize, { .i = 9000 | MOVEY | ABSOLUTE } }, \
        { MODKEY|ControlMask, XK_k, moveresize, { .i = 15 | MOVEY | ABSOLUTE } }, \
        { MODKEY|ShiftMask, XK_h, moveresize, { .i = 25 | RESIZEX | NEGATIVE } }, \
        { MODKEY|ShiftMask, XK_l, moveresize, { .i = 25 | RESIZEX } }, \
        { MODKEY|ShiftMask, XK_j, moveresize, { .i = 25 | RESIZEY } }, \
        { MODKEY|ShiftMask, XK_k, moveresize, { .i = 25 | RESIZEY | NEGATIVE } }, \
        { MODKEY|Mod1Mask|ShiftMask, XK_h, moveresize, { .i = 5 | RESIZEX | NEGATIVE } }, \
        { MODKEY|Mod1Mask|ShiftMask, XK_l, moveresize, { .i = 5 | RESIZEX } }, \
        { MODKEY|Mod1Mask|ShiftMask, XK_j, moveresize, { .i = 5 | RESIZEY } }, \
        { MODKEY|Mod1Mask|ShiftMask, XK_k, moveresize, { .i = 5 | RESIZEY | NEGATIVE } }, \

-- 
For everything there is a season, and a time for every purpose under
heaven. Ecclesiastes 3,1

Received on Fri Feb 09 2007 - 23:30:13 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:36:31 UTC