Re: [dwm] My first impressions

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Thu, 17 Aug 2006 08:27:22 -0400

On Thu, 2006-08-17 at 12:35 +0200, Capit Nicolas wrote:

> - Is it possible to tile or float a window individualy without a Rule in the
> config.h?
> It exists the possibility to float all or tile all but I didn't find this for a
> particular window?

I had patched this into v0.8, but I stopped patching it in because I
found that I never used it. If you still want to do it, you can look at
the attached email for ideas.
-RPM

attached mail follows:


Attached is my personal patch set for the dwm-0.8 source code. The
modified
functionality, described below, was acheived by simplifying the
togglemax()
function and replacing the dofloat() and dotile() functions with a
single
dolayout() function.

MODIFICATIONS:

* togglemax (MODKEY-m) works differently. Instead applying to a single
client
and only while that client has focus, it applies to all clients within
the
current tag view and remains in effect until you toggle it off. Reverse
colors
in the status bar now means the tag view is in max layout. The layout of
each
specific tag view is independent of all the other tag views. In
addition, you
specify the startup layout for each tag view within your config.h file
(False
for tiled and True for maxed). Look at the new tags[] definition in
config.default.h.

* togglemode (MODKEY-space) works differently. Instead of applying to
every
client on every tag of the wm, it applies only to the currently focused
client.
Floating clients are now always on top of managed clients. You can also
now use
this toggle to put transient, pop-up, or even rule-based floating
clients into
the tiled or maxed layout. Floating clients are not affected by
togglemax.
Remove the #define for DEFMODE from your config.h as it isn't used with
this
patch set.

* Clicks on the status bar to the right of the tab boxes now change the
client
focus. A left-click (Button1) calls focusnext and any other button calls
focusprev.

* MODKEY-Button1 (instead of 2) to zoom a client. Remove Button4 and
Button5
functionality.

USAGE:

# patch <dwm-rpmohn-0.8.diff
Then configure and compile as usual.

TODO:

 - Fix status text when viewnext/prev from a maxed to a tiled.
 - These have to do with the ordering within the clients chain: When
changing
   focus between several floating clients, change who's on top. When
closing a
   pop-up window, should go back to the same maxed client
 - Change max layout to stack layout? Maybe not, I'm growing to like
max
   layout!

CHANGELOG:
 - Fixed bug so floating clients are now always on top of managed
clients.
 - Added feature to left-click on status bar (not in tags) to call
focusnext
   and right-click to call focusprev.
 - Pulled pop code out of zoom() and made it a static function.
 - Fixed several more of my own bugs!
 - Use MODKEY-Button1 (instead of 2) to zoom a client and remove code
for
   Button4 & 5 to change views (I don't have a mouse with Button 4 &
5!)

_______________________________________________
dwm mailing list
dwm_AT_10kloc.org
http://wmii.de/cgi-bin/mailman/listinfo/dwm

Received on Thu Aug 17 2006 - 14:27:30 UTC

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