Re: [dwm] Re: New mailing list

2009-05-20 Thread yy
2009/5/20 Szabolcs Nagy nszabo...@gmail.com: On 5/20/09, Anselm R Garbe garb...@gmail.com wrote: Let's have hackers@ be some meta list which sends to dwm@ and wmii@, and those subscribed to hackers will receive dwm@ and w...@. Those who are only interested in dwm@ or wmii@ specifically could

Re: [dwm] musca wm

2009-05-15 Thread yy
2009/5/15 pancake panc...@youterm.com: A friend of me is writing a pkgsystem that builds everything inside a chroot and allows to create a full usable distribution, the pkgsystem itself is not yet finished, but is pretty fast , written in C and shellscript and I really think it is a good

Re: [dwm] musca wm

2009-05-15 Thread yy
2009/5/15 Leandro Chescotta lchesco...@banelco.com.ar: 2009/5/15 yy yiyu@gmail.com : There is a suckless alternative to GNU: Plan9. I don't know that, there are apps under Plan9 like GNU? Why make it suckless comparative to GNU? In the sense that GNU aims to be a similar to UNIX

Re: [dwm] dwm's future

2009-04-27 Thread yy
2009/4/27 Matthias-Christian Ott o...@mirix.org: At least you didn't loose your dignity, carried out your principles and proofed that Free Software is as powerful as an expensive proprietary software. But it is not always possible. I can give you a (quite long) list of software that doesn't

Re: [dwm] dwm's future

2009-04-26 Thread yy
You could add an option to print the window title to stdout. This way if somebody wants to pipe it to an external program to show window titles (like dzen on top of the dwm bar), they can. -- - yiyus || JGL .

Re: [dwm] [idea] mwm - minimal/minimun/monocle window manager

2009-04-26 Thread yy
2009/4/26 Leandro Chescotta leandro.chesco...@gmail.com: - no tags, only a list of opened windows, that you can cycle with one keybinding or Alt+number - no bottom bar, just the window list that you can show/hide - no layouts, only a monocle-like one, and a floating layer for mplayer/feh/gimp

Re: [dwm] Low Power Fanless Computer

2009-04-25 Thread yy
While I really like Asus products (I'm very happy with my eee), maybe the msi catalog is also worth a look. Both windbox and windnettop look like interesting fanless desktop replacements in the same line than the eeebox. If you want to have your own server the idea of accompanying one of these

Re: [dwm] key bindings

2009-04-03 Thread yy
2009/4/4 Steven Blatchford dollarsign...@gmail.com: A few months ago I tried yiylus's idea of workspaces to cut down on the keystrokes when pulling in other apps (eg modkey+1 modkey+ctrl+2). Now, since I rarely use XK_{1,2,3...9} I thought of moving those to the function keys thus freeing up

Re: [dwm] Wiki date format

2009-03-11 Thread yy
2009/3/11 markus schnalke mei...@marmaro.de: /mm/dd is not worst but still worse than -mm-dd. The latter one is a standard, and it is usable in filenames. Think about it. I'm thinking about it, but really, if slashes are not the standard FS in dates we are probably living in

Re: [dwm] [PATCH] remove sizehints argument in resize()

2009-03-02 Thread yy
2009/3/2 Enno Boland (Gottox) got...@gmail.com: I wrote a patch which removes the last argument from resize(). This is handled now directly in applysizehints(). What do you think about it? I love this patch. It looks like the right thing. -- - yiyus || JGL .

Re: [dwm] This question is probably beneath you all--but I will ask anyway

2009-02-28 Thread yy
2009/2/28 I. Khider cont...@ikhider.com: Greeting fellow DWM users I noticed with certain applications like Gimp, k3b, etc. it is very difficult to maximize a work screen--I have yet to figure it out. Also for Gimp, I have tried to move my tools applications around the workspace and apart

Re: [dwm] Google Summer of Code 2009

2009-02-21 Thread yy
Great news :) I would love to take part on this. I'm PhD student and was thinking about some Plan9 related project, if the suckless project will also be a mentoring organization maybe there is some good project involving both things which could be done (I remember a Plan9 port of dwm - mentored by

[dwm] [OT] Wheel designs

2009-02-19 Thread yy
I find your current discussion very relevant to what I'm doing with dio[1] now. It would really be great to share ideas and, eventually, join efforts. I will try to explain the different ideas I had with dio development, it's a long history. This is what I have now: The main idea behind dio was a

Re: [dwm] dmenu - how to autoconfirm selection in case of exact match?

2009-02-17 Thread yy
2009/2/16 Jeremy Jay dinkuma...@gmail.com: OP doesn't want to hit enter every time, dmenu won't return unless you do, so a patch is necessary... Jeremy On Mon 16 Feb 2009 - 07:32PM, yy wrote: Another option, if you don't want to patch, is to add those letters to dmenu input (with simples

Re: [dwm] floating rule when only WM_NAME defined?

2009-02-16 Thread yy
2009/2/16 Adam adam.listm...@gmail.com: WM_NAME property should be the title is that window have any title? (check the status bar) yes, GREG is also the title in the status bar. I thought that: { NULL, NULL, GREG, 0,True }, would be the proper way to

Re: [dwm] dmenu - how to autoconfirm selection in case of exact match?

2009-02-16 Thread yy
Another option, if you don't want to patch, is to add those letters to dmenu input (with simples echoes in dmenu_path, or even processing an aliases file). Personally, I don't use dmenu_path, I just have a list with no more than 10 items so I can launch everything with only one or two letters.

Re: [dwm] Layers

2009-01-22 Thread yy
I use the floating layout just for this. I have hacked dwm in several ways in the past: keys to raise clients*, different stack algorithms (in the lt structure), and what not. At the end, in the case I want to bring front a tiled client the easiest way is to change to floating layout**, no

Re: [dwm] What happened here?

2009-01-20 Thread yy
2009/1/20 andrew alindb...@gmail.com: I've spent a lot of time with awesome in the past months, since it had, at the time, a sensible tiling system and some of the features I wanted that dwm lacked. Unfortunately, with the progression to the latest major revision, lua integration has ruined

Re: [dwm] Re: What happened here?

2009-01-20 Thread yy
2009/1/20 hiro 23h...@googlemail.com: [snip] Still, dwm somehow seems very much not unix alike for me. Well, X doesn't look like UNIX neither, however you look at it. -- - yiyus || JGL .

Re: [dwm] how to float all gui programs

2009-01-09 Thread yy
2009/1/9 Szabolcs Nagy nszabo...@gmail.com: On 1/9/09, bill lam cbill@gmail.com wrote: On Fri, 09 Jan 2009, markus schnalke wrote: Make floating the default and add rules for your terminal emulators. Thank markus, I patched dwm as per your suggestion and it now works use {0,0,0,0,True}

Re: [dwm] dio-0.1.3

2009-01-05 Thread yy
2009/1/5 Anselm R Garbe garb...@gmail.com: 2009/1/4 Yoshi Rokuko yoshi.rok...@yokuts.org: On Fri, Jan 02, 2009 at 06:53:10PM +0100, yy wrote: I have been experimenting with user interfaces concepts lately. My first aim was a simple mp3 player. The code has been adapted later to do other tasks

[dwm] dio-0.1.3

2009-01-02 Thread yy
I have been experimenting with user interfaces concepts lately. My first aim was a simple mp3 player. The code has been adapted later to do other tasks, and now it is some sort of generic list manager, where items can be played. It was initially based on dmenu-3.9 (that's the reason it is

Re: [dwm] dio-0.1.3

2009-01-02 Thread yy
2009/1/2 Christoph Lohmann 2...@r-36.net: You are recreating acme(1) with less features. Maybe, acme is probably the user interface which has inspired me more in the last years. OTOH, using acme (or libframe, I don't know very much about the internals) would probably be the right way to

Re: [dwm] Border hater, border lover

2008-12-17 Thread yy
2008/12/17 Anselm R Garbe garb...@gmail.com: It's in. Please recheck if there are any issues. Otherwise I'm going to release 5.4 tomorrow. Two things (of not too much importance, anyway): 1. What about the applyrules modification discussed in http://lists.suckless.org/dwm/0812/7057.html ? 2.

Re: [dwm] Border hater, border lover

2008-12-17 Thread yy
2008/12/17 yy yiyu@gmail.com: 2008/12/17 Anselm R Garbe garb...@gmail.com: It's in. Please recheck if there are any issues. Otherwise I'm going to release 5.4 tomorrow. Two things (of not too much importance, anyway): 1. What about the applyrules modification discussed in http

Re: [dwm] dwm and dualhead

2008-12-11 Thread yy
The problem with xinerama is that no general implementation is possible. You can have a tile algorithm for both screens or two different ones, you can share tags or they can be different, it could be possible for the user to move windows between screens or not, etc. And what do you do with the

Re: [dwm] dwm and dualhead

2008-12-11 Thread yy
2008/12/11 Mate Nagy [EMAIL PROTECTED]: Hiho, On Thu, Dec 11, 2008 at 09:39:19AM +0100, yy wrote: on this list and, if somebody finds a great _general_ solution (which seems difficult, but I would be love to be wrong), I'm sure Anselm would be glad to include it in the official release. Just

Re: [dwm] dwm and dualhead

2008-12-11 Thread yy
What about moving XineramaScreenInfo *info = NULL; out of updategeom()? if you make info a global variable it is easy for people to have custom tile algorithms which make use of it. If you also define custom functions to view tags, change layouts, etc you will be able to have plenty of different

Re: [dwm] xprop patch

2008-12-10 Thread yy
2008/12/9 Anselm R Garbe [EMAIL PROTECTED]: 2008/12/9 Neale Pickett [EMAIL PROTECTED]: I very much like this patch. I realized right away that I would never again need to restart dwm when I work on my status script. When it dies, I can just start it up again without restarting DWM. Someone

Re: [dwm] dwm-5.3

2008-12-09 Thread yy
2008/12/9 Szabolcs Nagy [EMAIL PROTECTED]: On 12/8/08, Neale Pickett [EMAIL PROTECTED] wrote: I sort of like the idea of using X properties. You could use xprop to one of the most ununixy interfaces man XGetWindowProperty I agree 100%. The idea of X properties can seem appealing at

Re: [dwm] DWM 5.3.1 and Xinerama

2008-12-07 Thread yy
2008/12/7 Donald Chai [EMAIL PROTECTED]: BTW, restarting X is not necessary: the *whole purpose* of Xrandr is to avoid doing this. Just plug in your external display and run xrandr --output VGA --auto or whatever your external display is called. dwm is already set up to receive configure

[dwm] applyrules()

2008-12-06 Thread yy
Great 5.3.1 release! What about this little change in applyrules? @@ -259,7 +259,7 @@ (!r-class || (ch.res_class strstr(ch.res_class, r-class))) (!r-instance || (ch.res_name strstr(ch.res_name, r-instance {

Re: [dwm] Re: urgent windows border

2008-12-06 Thread yy
There is little error here. It is not working as expected in 5.3.1. This patch fixes it. -- - yiyus || JGL . urgencyfix.diff Description: Binary data

Re: [dwm] Re: urgent windows border

2008-12-06 Thread yy
2008/12/6 yy [EMAIL PROTECTED]: There is little error here. It is not working as expected in 5.3.1. This patch fixes it. Be care if you apply this, I forgot to remove my PREFIX (which is /usr) in config.mk -- - yiyus || JGL .

Re: [dwm] dwm-5.3

2008-12-05 Thread yy
2008/12/5 Guillaume Quintin [EMAIL PROTECTED]: On Fri, 5 Dec 2008 08:33:44 + Here is my .xinitrc : while true do echo `date` sleep 1 done | dwm A bit off-topic, but, why the echo? A simple date should do it. -- - yiyus || JGL .

Re: [dwm] Re: urgent windows border

2008-12-04 Thread yy
2008/12/4 Anselm R Garbe [EMAIL PROTECTED]: I have mixed feelings about this patch. Does someone has strong arguments that this would be a good idea for upstream dwm? I also have mixed feelings... I wrote it because I didn't see urgent windows when they were visible (I know this sentence looks

Re: [dwm] Re: urgent windows border

2008-12-04 Thread yy
2008/12/4 Tinou [EMAIL PROTECTED]: On Thu, Dec 4, 2008 at 9:31 PM, yy [EMAIL PROTECTED] wrote: Besides the border color, I think this patch is really useful when using the monocle layout. As clearing the urgent flag one could miss that not visible urgent window. Though it's only visible

[dwm] urgent windows border

2008-11-29 Thread yy
The attached patch set a different border color for windows with the urgency hint flag set. The flag will be removed when the client is focused (instead of when it is visible). It saves some lines of code (and can save some more moving clearurgent() to focus(), since it is used only there). have

[dwm] Re: urgent windows border

2008-11-29 Thread yy
It had a bug. We don't want to set as urgent the sel client. Sorry for the noise. -- - yiyus || JGL . urgentborder.diff Description: Binary data

Re: [dwm] patch to hide sticky indicators, and add nofocus windows

2008-11-25 Thread yy
You could do something very similar just caling unmanage. The problem is you can't call functions from the rules definition (though you could use a keybinding to unmanage windows). It could be interesting to modify applyrules and the Rule definition in order to call functions, like buttons and

Re: [dwm] questions about DWM source

2008-11-09 Thread yy
2008/11/10 robert hickman [EMAIL PROTECTED]: Then I came across this pese of code in the manage function: Window trans = None; if(XGetTransientForHint(dpy, wind, trans)) t = getclient(trans); if(t) clien-tags = t-tags; else applyrules(clien); what exactly does

Re: [dwm] How to detect TAG activity?

2008-11-04 Thread yy
2008/11/4 Premysl Hruby [EMAIL PROTECTED]: On (04/11/08 16:37), yy wrote: To: dwm mail list dwm@suckless.org From: yy [EMAIL PROTECTED] Subject: Re: [dwm] How to detect TAG activity? Reply-To: dwm mail list dwm@suckless.org List-Id: dwm mail list dwm.suckless.org 2008/11/4 markus schnalke

Re: [dwm] make setlayout toggle

2008-11-04 Thread yy
After a quick look, I think the last check in the first if should be arg-v != lt[sellt^1] -- - yiyus || JGL .

Re: [dwm] slowness in moving windows OR vlc/mplayer crash

2008-09-09 Thread yy
2008/9/9 Anselm R Garbe [EMAIL PROTECTED]: The window moving/resizing code might be changed after dwm-5.2 which I plan to release tonight. My favorite is just keeping a server grab during the resize/move to prevent clients from redrawing since they won't receive any events during that time.

Re: [dwm] what about 'st'?

2008-09-05 Thread yy
2008/9/5 Donald Chai [EMAIL PROTECTED]: I have found something quite useful when working with lot of terminals that is having different background colors depending on the task they are designed to be. But currently i just change the background color of vim and use this to differentiate them.

[dwm] Re: [patch] arguments for ClkTagBar functions

2008-08-31 Thread yy
and this is the patch :) sorry, -- - yiyus || JGL . dwm-5.2-tagbararg.diff Description: Binary data

Re: [dwm] dwm: request to discuss

2008-08-30 Thread yy
2008/8/30 Maxim Vuets [EMAIL PROTECTED]: 2008/8/29, yy [EMAIL PROTECTED]: Just to show you (and all the people who come here asking for workspaces from time to time) I have attached a config.h with a workspaces implementation. It hasn't been tested very much, but I think it works. Now you

Re: [dwm] dwm: request to discuss

2008-08-29 Thread yy
Just to show you (and all the people who come here asking for workspaces from time to time) I have attached a config.h with a workspaces implementation. It hasn't been tested very much, but I think it works. Now you can change workspace with Mod+Tab (and Mod+Shift+Tab) or with the mouse wheel on

Re: [dwm] dwm: request to discuss

2008-08-28 Thread yy
2008/8/28 Maxim Vuets [EMAIL PROTECTED]: I think that mouse is not really important for dwm status bar. Well, I think it is. I use dwm exclusively with the mouse without any changes to dwm.c (have a look at the customisation/customfunctions section in the wiki to see my config.h) Why you

Re: [dwm] Feature request: any way to change default values in config

2008-08-23 Thread yy
In my opinion, moving the seltags definition to config.h would be the right thing to do. This way, with the right mouse and keys configuration you could achieve things like, for example, having a tag always visible. It is not something I'm gonna use myself, but moving the definition of the

[dwm] Custom functions

2008-08-22 Thread yy
I have found the way to highly customize dwm to my taste just adding some custom functions to config.h, without touching dwm.c. Since some of this functions could be interesting for somebody I have added my config.h to the wiki, in the customisation section. (With this configuration, dwm is the

Re: [dwm] some proposed changes

2008-08-10 Thread yy
2008/8/10 Premysl Hruby [EMAIL PROTECTED]: Hi, reason for using XConfigureWindow in restack() is setting border_width of client (and this is the only reason for not using XMoveResizeWindow as you propose). Any of my windows change window border width since it is setted in manage(), but

[dwm] some proposed changes

2008-08-09 Thread yy
Attached there is a patch with some changes to dwm.c. It uses XLowerWindow and XMoveResizeWindow instead of configure functions in restack() and resize() respectively. I suposse there is a good reason to use configure here, but since Anselm is on holidays I ask here if somebody knows the reason.

Re: [dwm] Tiled window moved/resized with mouse misbehaves. Bug?

2008-08-08 Thread yy
2008/8/8 RCarter [EMAIL PROTECTED]: 5.1, with or without the patches I'm using: If a tiled window is resized or moved with the mouse, it stops obeying layout changes, remaining where it is and on top of other windows until the application is restarted. The other windows obey, but remain

Re: [dwm] Being not so elitist

2008-07-29 Thread yy
From The Free On-line Dictionary of Computing (27 SEP 03) : elite 1. A term used to describe skilled crackers or hackers, or their deeds. In the last sense, compare to elegant. So, I think we can tell this community is elitist, and dunno why it should be a

Re: [dwm] New layout

2008-07-02 Thread yy
2008/7/2, Anselm R. Garbe [EMAIL PROTECTED]: Looking into your patch I more and more come to the conclusion to add an extra void *aux field to Client for extensions like this (or the previous extensions proposed in the toggle{vert,horiz} patches. With this in 5.1 you could easily keep your

Re: [dwm] New layout

2008-07-02 Thread yy
2008/7/2, Anselm R. Garbe [EMAIL PROTECTED]: Another thing: I don't think that the design of dwm fits well with the layouting concept of wmii. This is because dwm depends on the assumption that the layout algorithm in use is dynamic enough to deal with arbitrary amounts of windows which are

Re: [dwm] dwm-5.0 / dmenu-3.7

2008-06-18 Thread yy
I don't know how nobody found this one sooner. It has happened to me just after the announcement, but there is a bug in 5.0. You shouldn't be able to toggle tags when there is only one selected (a client without tags will be lost for ever after an arrange...). In other words, toggleview and

Re: [dwm] feature freeze, please test

2008-06-14 Thread yy
About the mouse warping issue we have discussed in #dwm, forget it, I can get the desired behavior with a little config.h modifications. I add: void warptosel(const Arg *arg) { if(sel) XWarpPointer(dpy, None, sel-win, 0, 0, 0, 0, 0, 0); } and then, in buttons definitions:

Re: [dwm] click to focus no longer works

2008-06-14 Thread yy
2008/6/14 Johannes Hofmann [EMAIL PROTECTED]: Hi, with current tip (118ea4f4f554) it seems no longer possible to focus a client by clicking it with the left mouse button. To reproduce move the mouse over the stack, focus the main window using MODKEY-k, close that window e.g. using Ctrl-d.

Re: [dwm] patch

2008-06-10 Thread yy
2008/6/10, Anselm R. Garbe [EMAIL PROTECTED]: On Tue, Jun 10, 2008 at 10:58:40AM +0200, Premysl Hruby wrote: On (10/06/08 10:51), Anselm R. Garbe wrote: To: dynamic window manager dwm@suckless.org From: Anselm R. Garbe [EMAIL PROTECTED] Subject: Re: [dwm] patch On Tue, Jun 10,

Re: [dwm] center scaling

2008-06-04 Thread yy
2008/6/4, pancake [EMAIL PROTECTED]: btw...mouse-related patches are not easy to be modular on current dwm. Do you plan to do it for the next release? together with the 'mouse-clicks' patch? --pancake I have written a patch to generalize mouse actions in the same way that keys. I was

[dwm] getting rid of viewprev()

2008-05-31 Thread yy
Writing my patch to automatically see previous tags (attached, extremely simple) I have noticed that you can get rid of viewprev() at the same time that you simplify view(). The diff is attached too (the only difference between both patches is an additional check in the if statement in

Re: [dwm] getting rid of viewprev()

2008-05-31 Thread yy
2008/5/31 Anselm R. Garbe [EMAIL PROTECTED]: On Sat, May 31, 2008 at 05:43:36PM +0200, yy wrote: Writing my patch to automatically see previous tags (attached, extremely simple) I have noticed that you can get rid of viewprev() at the same time that you simplify view(). The diff is attached

Re: [dwm] Bug in zoom()

2008-05-30 Thread yy
2008/5/29, Anselm R. Garbe [EMAIL PROTECTED]: - if(!lt-arrange || sel-isfloating) + if(!sel || !lt-arrange || ismax || sel-isfloating) return; Just a little remark. Now that maximizations are done in arrange() the || ismax check here is not neccessary any more (it will

[dwm] domax (again)

2008-05-25 Thread yy
domax is much better this way, using XMoveResizeWindow. I have removed ban/unban and merged it into arrange and added my tagkeys macro, so at the end it removes 25 lines to the dwm source. Some questions: 1. wouldn't it be a good idea moving the tagset definition to config.h? So everybody can

Re: [dwm] bitarray and void *arg (was: using bitaray for tags (PATCH))

2008-05-22 Thread yy
2008/5/22, Anselm R. Garbe [EMAIL PROTECTED]: Applied. Thanks a lot! void -toggletag(const char *arg) { - unsigned int i, j; +toggletag(void *arg) { + int i, m = *(int *)arg; + for(i = 0; i sizeof(int) * 8; i++) + fputc(m 1 i ? '1' : '0', stdout); +

[dwm] tags definition

2008-05-22 Thread yy
I was too tired of defining 4 different keys for each tag inside config.h, so I created a TAGKEYS macro. I vote for its inclusion in main dwm. I was thinking about having the (uint[]){ 1 Tag} inside the macro, or even (uint[]){ 1 (Key - 1)} , but since it is in config.h all that is up to you and

Re: [dwm] Freedom (was: Re: sic ipv6 patch)

2008-05-20 Thread yy
Being pragmatic, I think it is better the MIT style license. e.g.: somebody wants to take the tile algorithm from dwm for some proprietary project (yes, there are projects where the code cannot be shared), if dwm is GPL they will just copy it without telling to anybody, to avoid further legal

Re: [dwm] using bitaray for tags (PATCH)

2008-05-20 Thread yy
2008/5/20, Premysl Hruby [EMAIL PROTECTED]: Hi, This is realization of Gottox's proposal discuted on IRC today. It handles tags not as Bool [], but as bit-array saved in int. There's only one problem, as I don't find easy solution (in compile time) for check if there's no more tags than

[dwm] buttonpress patch

2008-05-19 Thread yy
This is the buttonpress patch I have just talked about (incremental to the domax patch). It adds a lot of new functionality, i.e.: - It reverts the old zooming with middle mouse button (or toggling floating if not in tiled layout) with a click inside the window (+ModKey) or in the bar. - With the

Re: [dwm] Documentation!

2008-05-17 Thread yy
While I partly agree with your critics, I think they are not very helpful (with all the respect). The 2 or 3 characters variable names have been there since the beginning to define geometries, I don't understand what the problem is, and I also find the 2kloc limit somewhat stupid, but it has shown

[dwm] [patch] domax (was: Documentation!)

2008-05-17 Thread yy
As I told in my last message, I have implemented maximizations in a different way. It adds 3 loc and removes some flexibility, but I think it makes the code clearer. With this patch, dwm doesn't remember floating windows any more. Notice that in order to maximize windows you can use Mod+M or the

Re: [dwm] [patch] domax (was: Documentation!)

2008-05-17 Thread yy
2008/5/17 yy [EMAIL PROTECTED]: As I told in my last message, I have implemented maximizations in a different way. It adds 3 loc and removes some flexibility, but I think it makes the code clearer. With this patch, dwm doesn't remember floating windows any more. Notice that in order

Re: [dwm] [patch] domax (was: Documentation!)

2008-05-17 Thread yy
2008/5/17 Anselm R. Garbe [EMAIL PROTECTED]: We did similiar work today ;) Yes :) I'm very happy with your last changes. ( -- I'd like to see your domax patch as patch against the most recent hg tip. Attached, now it is even better, because it doesn't let you to move/resize windows while in

Re: [dwm] wildcard in client rules tags ref

2008-05-15 Thread yy
2008/5/15 Eric Davis [EMAIL PROTECTED]: On Thu, May 15, 2008 at 11:56:02AM +0200, Anselm R. Garbe wrote: On Tue, May 13, 2008 at 09:06:22PM -0700, Eric Davis wrote: DWM used to support regular expressions in the tags ref for client rules. I agree that the feature was overkill but it was

Re: [dwm] Suggestion float my next window

2008-05-13 Thread yy
2008/5/13, Tri PLC [EMAIL PROTECTED]: Hi It's a suggestion to create a float next windows feature. I think this has been discussed before. The problem is that you cannot know who is opening the next window, so if a popup dialog appears in that moment you won't have the expected behaviour

Re: [dwm] snapping bugs with multiple screens

2008-05-05 Thread yy
I don't have a dualhead setup to test, but in case you cannot move the mouse pointer out of the monitor borders you have a very easy solution: wrap the mouse to the nearest window corner at the begining of movemouse() (I wrote a patch for this once), then you will always align your windows with

Re: [dwm] Yet another simplification, this time sel/prevtags

2008-04-27 Thread yy
2008/4/27 Anselm R. Garbe [EMAIL PROTECTED]: On Sun, Apr 27, 2008 at 07:41:08PM +0200, Anselm R. Garbe wrote: On Sun, Apr 20, 2008 at 10:24:32PM +0200, Premysl Hruby wrote: void view(const char *arg) { seltags ^= 1; memset(tagset[seltag], (NULL == arg), TAGSZ);

Re: [dwm] [PATCH] Add support for on-start actions

2008-04-26 Thread yy
2008/4/26 Jules Villard [EMAIL PROTECTED]: Hi all, This patch adds the ability to perform user-defined actions on startup. In particular, you can launch some applications like a bunch of terms, a browser, you name it... or select a specific tag. I found a need for it because I always

Re: [dwm] faster focus to client

2008-04-21 Thread yy
I have found an useful tip related to this idea, if you are using the patch I submitted yesterday (or any of the previous versions) to see the previous tags when you try to see the currently selected tags. I'll explain it with an example: you have clients with tags 1, 2 and 3, and you are viewing

Re: [dwm] Yet another simplification, this time sel/prevtags

2008-04-20 Thread yy
2008/4/20, Anselm R. Garbe [EMAIL PROTECTED]: On Sun, Apr 20, 2008 at 06:05:50PM +0200, Premysl Hruby wrote: attached patch makes one array for both sel and prevtags. So there is no need to swap them in memory in view() as we only change seltags pointer to point viewtags[0] or

Re: [dwm] Yet another simplification, this time sel/prevtags

2008-04-20 Thread yy
2008/4/20, Premysl Hruby [EMAIL PROTECTED]: On (20/04/08 21:49), yy wrote: To: dynamic window manager dwm@suckless.org From: yy [EMAIL PROTECTED] Subject: Re: [dwm] Yet another simplification, this time sel/prevtags Reply-To: dynamic window manager dwm@suckless.org List-Id: dynamic

Re: [dwm] faster focus to client

2008-04-17 Thread yy
2008/4/17, pancake [EMAIL PROTECTED]: What do you think about this feature? I think that could be really interesting. When you have lot of windows opened it's mostly tedious to focus a desired window with the keyboard. So why not tag windows with a key and make them accessible in a

Re: [dwm] fgeom patch

2008-04-15 Thread yy
There was an error in monocle, and the floating() definition hadn't been removed... (ok, ok, yesterday it was not my day...). I have also changed zoom() so that it does an arrange if lt-isfloating or sel-isfloating; this way, after having manually resized windows while in [M] (or = or |) you can

Re: [dwm] fgeom patch

2008-04-14 Thread yy
2008/4/14, Anselm R. Garbe [EMAIL PROTECTED]: On Wed, Apr 09, 2008 at 07:41:53PM +0200, yy wrote: As discussed before, this is the patch with the floating geometry functionality. I removed some loc in restack, but I had to add more in other places to correctly manage mouse actions when

Re: [dwm] fgeom patch

2008-04-14 Thread yy
2008/4/14, yy [EMAIL PROTECTED]: 2008/4/14, Anselm R. Garbe [EMAIL PROTECTED]: On Wed, Apr 09, 2008 at 07:41:53PM +0200, yy wrote: As discussed before, this is the patch with the floating geometry functionality. I removed some loc in restack, but I had to add more in other

Re: [dwm] togglemax substiute in 4.9?

2008-04-09 Thread yy
2008/4/9, Anselm R. Garbe [EMAIL PROTECTED]: On Tue, Apr 08, 2008 at 07:52:03PM +0200, Matthias-Christian Ott wrote: yy [EMAIL PROTECTED] wrote: Well, this is my proposal in patch form. I'm not sure about the convenience of setting fx and fy in tileresize, but you get the idea. I

[dwm] fgeom patch

2008-04-09 Thread yy
As discussed before, this is the patch with the floating geometry functionality. I removed some loc in restack, but I had to add more in other places to correctly manage mouse actions when in monocle layout (isn't a bug the current possibility of moving and resizing windows while in monocle

Re: [dwm] togglemax substiute in 4.9?

2008-04-08 Thread yy
2008/4/8, Anselm R. Garbe [EMAIL PROTECTED]: On Mon, Apr 07, 2008 at 01:55:29PM +0200, Joerg van den Hoff wrote: as `togglemax' seems gone in 4.9: I agree, that `monocle' is very useful (and superior). the only problem is (seems?) that one cannot easily toggle back and forth to the

Re: [dwm] togglemax substiute in 4.9?

2008-04-08 Thread yy
2008/4/8, Anselm R. Garbe [EMAIL PROTECTED]: On Tue, Apr 08, 2008 at 01:35:40PM +0200, yy wrote: 2008/4/8, Anselm R. Garbe [EMAIL PROTECTED]: Any complains? If we are coming back to reverse geometries per client, what's the point of resizing clients in focus changes? I think

Re: [dwm] togglemax substiute in 4.9?

2008-04-08 Thread yy
Well, this is my proposal in patch form. I'm not sure about the convenience of setting fx and fy in tileresize, but you get the idea. -- - yiyus || JGL . diff -r 595ed1a4447c dwm.c --- a/dwm.c Tue Apr 08 11:49:35 2008 +0100 +++ b/dwm.c Tue Apr 08 18:59:12 2008 +0200 @@ -66,6 +66,7 @@ struct

Re: [dwm] Monocle question

2008-04-04 Thread yy
2008/4/4, Szabolcs Nagy [EMAIL PROTECTED]: On 4/4/08, Dashing [EMAIL PROTECTED] wrote: Hi I use monocle mode a lot, but I don't like how dialog boxes get maximized. I noticed two versions for going through the clients exist: * for(c = clients; c; c = c-next) * for(c =

Re: [dwm] Monocle question

2008-04-04 Thread yy
After looking at the 4.9 release I have a suggestion which could satisfy most of the people, in dwm.c:1071 you could change the isvisible(c) condition to (lt-isfloating || !c-isfloating) isvisible(c), this way if you want to just maximize tiled windows you just have to set the float value of

Re: [dwm] ii best practices

2008-04-01 Thread yy
2008/4/1, Matthias-Christian Ott [EMAIL PROTECTED]: Anselm R. Garbe [EMAIL PROTECTED] wrote: On Tue, Apr 01, 2008 at 03:24:44PM +0200, Matthias-Christian Ott wrote: I want to start using ii for irc. What discouraged me from doing so was a proper input method. Currently I know 2

Re: [dwm] a lone client could be borderless

2008-03-21 Thread yy
2008/3/21, Ralph E. Carter [EMAIL PROTECTED]: When only one client is in a workspace (or tagset, or view), it could be borderless. In the default geom, or in bottomstack, the border is unnecessary. In my favorite monocle, any border would remind that something is below. That's a good

Re: [dwm] found a nice way to do the setgeom stuff

2008-03-19 Thread yy
2008/3/19, Szabolcs Nagy [EMAIL PROTECTED]: what's wrong with void growm(const char *arg) { mw += 20; } ? shouldn't it be void growm(const char *arg) { mw += 20; setgeom(NULL); } ? But yes, I think this would be the right thing to do. This way we can even have a check to not