[dwm] alt+return zoom and maximize

From: pancake <pancake_AT_youterm.com>
Date: Sun, 26 Aug 2007 16:26:40 +0200

I think that alt+return should be zoom or maximize depending if
the window is maximized or not. Having two separated functions
have no sense for me. I think that this should be in the default
configuration.

But this can be emulate in this way:

pancake@~/prg/pvcroot/dwm$ pvc diff
--- .pvc//leaf/ea32c25a/2-pancake_AT_localhost 2007-08-26 15:55:54.000000000 +0200
+++ config.default.h 2007-08-26 16:23:14.000000000 +0200
@@ -85,7 +85,7 @@
        { MODKEY, XK_k, focusprev, NULL }, \
        { MODKEY, XK_h, setmwfact, "-.1" }, \
        { MODKEY, XK_l, setmwfact, "+.1" }, \
- { MODKEY, XK_m, togglemax, NULL }, \
+ { MODKEY, XK_Return, togglemax, NULL }, \
        { MODKEY, XK_Return, zoom, NULL }, \
        { MODKEY|ShiftMask, XK_c, killclient, NULL }, \
        { MODKEY, XK_0, view, NULL }, \
pancake@~/prg/pvcroot/dwm$

  --pancake
Received on Sun Aug 26 2007 - 16:26:46 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:51:26 UTC