Re: [dwm] [OT]: Comprehensive List of Window Managers for Unix

2008-03-24 Thread Kurt H Maier
Wikipedia's coverage is incomplete, out-of-date, and subject to weird
deletion requests out of nowhere.

How many times has xmonad been on the block?

On Mon, Mar 24, 2008 at 4:46 AM, Tuncer Ayaz [EMAIL PROTECTED] wrote:

 On Sun, Mar 23, 2008 at 11:16 PM, Samuel Baldwin [EMAIL PROTECTED] wrote:
   On Sun, Mar 23, 2008 at 10:41:19PM +0100, Tuncer Ayaz wrote:
 I thought it might be worth to mention here:
 http://gilesorr.com/wm/table.html
  
Fascinating. I've had an idea to do something like this, but also
including a small paragraph and screenshots. Seems I've already been
beaten to the punch however (by several sites). Chances are it probably
wont stop me. :)
  
Thanks, very cool.

  There are already articles about window managers
  on wikipedia.org. You'd only need to organize,
  clean-up and complete the articles.





-- 
# Kurt H Maier



Re: [dwm] DWM Tricot

2008-03-24 Thread Anselm R. Garbe
On Sun, Mar 23, 2008 at 10:31:50PM -0400, Samuel Baldwin wrote:
 This morning I went to suckless.org to finally go buy that tricot
 (shirt, for those who don't get it) I had my eye on. Only to my horror,
 I noticed the link had been removed. The way back machine (archive.org) 
 showed that the link now is dead (no store) or something. Was it
 discontinued due to lack of interest? I'd still buy one.
 
 I really don't want to resort to making an iron on dwm shirt. :/

Sorry, the shop has been discontinued. spreadshirt.net has good
quality shirts, but they are quite expensive in my opinion. 

Since there is the possibility to design your own shirts without
a shop using spreadshirt.net, I think it's pointless to
continue the previous shop -- also because people have different
taste.

I always agreed that you should feel free to use the dwm logo
for anything as you like unless you don't make profit from it.

The whole project is meant as liberal as possible.

Kind regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



[dwm] hg tip / upcoming 4.9

2008-03-24 Thread Anselm R. Garbe
The current hg tip feels a little bit more like 4.7 again.

First of all DEFGEOM is a stayer, but I changed certain things
as follows:

The geometry indicator is only displayed in the bar, if there
are more than a single geometry.

Same applies to the layout indicator -- though only very few
people use dwm with tilev only.

setgeom and setlayout are togglable again, which means the
direct layout setting shortcuts are not part of the default
config anymore, instead I introduced:

Mod1-space for toggling between all layouts and

Mod1-Control-space for toggling between all geometries.

This change allowed me to introduce double mfact and setmfact()
again, which  decreases/increases the master size. 

The key bindings for this are 

Mod1-h and Mod1-l again.

Kind regards,
-- 
 Anselm R. Garbe  http://www.suckless.org/  GPG key: 0D73F361



Re: [dwm] controlling dwm via emacs

2008-03-24 Thread Oliver Heins
John S. Yates, Jr. [EMAIL PROTECTED] writes:

 I have some vague recollection of someone posting a library for emacs to
 control a tiling WM.  I thought that that WM was dwm.  Googling around, even
 substituting wmii, awesome, xmonad, etc I have found no trace of such a beast.
 Am I simply mistaken or can anyone provide a pointer?

I remember something like this for an early version (3?) of wmii.
However, it wasn't really usable, and I think the author (who I don't
remember) removed the code from his website.

olli

-- 
http://www.sopos.org/olli/ GnuPG-Key: gpg --recv-keys 0x9A00D827
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html



Re: [dwm] controlling dwm via emacs

2008-03-24 Thread dtm
 JSY == John S Yates, [EMAIL PROTECTED] writes:

JSY I have some vague recollection of someone posting a library for
JSY emacs to control a tiling WM.  I thought that that WM was dwm.
JSY Googling around, even substituting wmii, awesome, xmonad, etc I
JSY have found no trace of such a beast.  Am I simply mistaken or
JSY can anyone provide a pointer?

Maybe you're thinking of XWEM (http://www.xwem.org/).

-- dtm




Re: [dwm] DWM Tricot

2008-03-24 Thread Samuel Baldwin
On Mon, Mar 24, 2008 at 02:58:54PM +0100, Anselm R. Garbe wrote:
 Since there is the possibility to design your own shirts without
 a shop using spreadshirt.net, I think it's pointless to
 continue the previous shop -- also because people have different
 taste.

Any suggestions on online stores that take a custom design? And at that,
do you have the shirt design floating around? (I'll probably just use
the dwm logo on a white shirt or something).

 The whole project is meant as liberal as possible.

Right. I just wanted to support the project while getting a shirt at the
same time. :) I'm a big fan of that. OpenBSD shirt, Ubuntu shirt, Gentoo 
shirt, BLU shirt, LinguasOS shirt...

Thanks anyways though. Great project you've got going on here.

-- Samuel Baldwin



Re: [dwm] hg tip / upcoming 4.9

2008-03-24 Thread Samuel Baldwin
On Mon, Mar 24, 2008 at 11:02:43AM -0400, RCarter wrote:
 GREAT! SUPER!
 I must say, you are very responsive (to good ideas).

Agreed.

 I will think about creating something helpful on my site for dwm-
 maybe something to help the non-programmers, such as myself.

We can fix that! I'd start with The C Programming Language by KR.

-- Samuel Baldwin



Re: [dwm] hg tip / upcoming 4.9

2008-03-24 Thread Peter Hartlich
Hi,

I like it a lot! Thanks for your work.

 The geometry indicator is only displayed in the bar, if there
 are more than a single geometry.

 Same applies to the layout indicator -- though only very few
 people use dwm with tilev only.

There's an off-by-one error: If the geometry indicator is not present
and you click (button 1) on one of the leftmost pixels of the bar, it
toggles the layout instead of selecting the first tag. If none of the
indicators are present, clicking there does nothing at all.

Also, a very simple patch is attached that makes the special case n==1
in tiled mode configurable, maybe you have use for it. Before, I used
to open a terminal just to reduce Firefox's width for better reading.

Regards,
Peter
diff -r 414f32ca9701 config.def.h
--- a/config.def.h  Mon Mar 24 14:30:39 2008 +
+++ b/config.def.h  Mon Mar 24 21:24:26 2008 +0100
@@ -31,6 +31,7 @@ Geom geoms[] = {
 };
 
 /* layout(s) */
+#define OVERFLOWSINGLE True/* False - single tiled client 
overflows to stack */
 #define RESIZEHINTSTrue/* False - respect size hints in tiled 
resizals */
 #define SNAP   32  /* snap pixel */
 
diff -r 414f32ca9701 dwm.c
--- a/dwm.c Mon Mar 24 14:30:39 2008 +
+++ b/dwm.c Mon Mar 24 21:24:26 2008 +0100
@@ -1660,7 +1660,7 @@ tilemaster(unsigned int n) {
 tilemaster(unsigned int n) {
Client *c = nexttiled(clients);
 
-   if(n == 1)
+   if(OVERFLOWSINGLE  n == 1)
tileresize(c, mox, moy, mow - 2 * c-bw, moh - 2 * c-bw);
else
tileresize(c, mx, my, mw - 2 * c-bw, mh - 2 * c-bw);


Re: [dwm] hg tip / upcoming 4.9

2008-03-24 Thread Peter Hartlich
 There's an off-by-one error: If the geometry indicator is not present
 and you click (button 1) on one of the leftmost pixels of the bar, it
 toggles the layout instead of selecting the first tag. If none of the
 indicators are present, clicking there does nothing at all.

The attached patch seems to fix this.

Regards,
Peter
diff -r 414f32ca9701 dwm.c
--- a/dwm.c Mon Mar 24 14:30:39 2008 +
+++ b/dwm.c Mon Mar 24 22:52:00 2008 +0100
@@ -330,7 +330,7 @@ buttonpress(XEvent *e) {
x = bgw;
for(i = 0; i  LENGTH(tags); i++) {
x += textw(tags[i]);
-   if(ev-x  bgw  ev-x  x) {
+   if(ev-x = bgw  ev-x  x) {
if(ev-button == Button1) {
if(ev-state  MODKEY)
tag(tags[i]);


Re: [dwm] DWM Tricot

2008-03-24 Thread hiro
You wouldn't need all these different ones if you had my I suck shirt.

--
hiro