Re: [dwm] irssi/mutt in status bar

2007-01-10 Thread Martin Sander
> How can i achive to have some notification in my status bar displaying > for example if new messages have arrived in mutt/irssi? Hey. For new emails I have a crontab entry that runs fetchmail -c|fetchmail -c | sed -e 's/[-A-Za-z().]*//g' -e 's/ /-/' |bc > ~/.dwm/mailcheck every 5 minutes. Of

Re: [dwm] launch of groupie (s/taggi/groupi/)

2007-01-18 Thread Martin Sander
On Thu, Jan 18, 2007 at 07:36:36PM +0100, rumpel wrote: > Nice, but wouldn't it look better with a mouse-over effect? "cool apps" http://wmii.suckless.org/view.sh/cool+apps Web Browsers * Dillo * ELinks * Lynx * w3m * links2 * Conkeror I think several of these don't sup

Re: [dwm] first inofficial (#) dwm FAQ - to be reviewed/over-coworked

2007-06-28 Thread Martin Sander
On Thu, Jun 28, 2007 at 10:41:48PM +0200, Anselm R. Garbe wrote: > Well, I ignore this thread. Okay, but do you want people to write some more documentation for dwm, dmenu and such? I have thought about that and if I can find some time I would write down what I know.. > On Thu, Jun 28, 2007 at 02

Re: [dwm] display bug with Firefox + Vimperator in tiling mode

2007-07-31 Thread Martin Sander
On Tue, Jul 31, 2007 at 07:36:51PM +0200, Xavier wrote: > I'm using vimperator extension : http://vimperator.mozdev.org/ and have a > little problem using it in dwm. > It's very common for websites to show thumbnails, and then clicking on the > thumbnail will open another firefox window, showing th

[dwm] flickering save file dialog of mozilla-acrobat plugin

2007-08-01 Thread Martin Sander
Hey list. When I use the "save a copy" button in an adobe reader window inside a firefox (with the mozilla-acroread plugin), the save file dialog flickers (jumps) from left to right, so that it is hard to click save or cancel. When I switch to another tag and back the flickering stops, but begins

Re: [dwm] Done Before: dwm stat scripts!

2007-10-02 Thread Martin Sander
On Mon, Oct 01, 2007 at 06:46:24PM -0500, Kurt H Maier wrote: > If anyone knows how to cast > floats to int in bash let me know. :V I guess it's not what you're looking for, but zsh can do floating point arithmetic. zshmodules(1): THE ZSH/MATHFUNC MODULE The zsh/mathfunc module provides s

[dwm] dwm vs DWM (was: DWM as a front end for a test machine)

2007-11-22 Thread Martin Sander
by the way: http://www.google.com/search?hl=en&q=dwm&btnG=Google+Search about — dwm — suckless.org dwm is a dynamic window manager for X. It manages windows in tiled and floating layouts. Either layout can be applied dynamically, optimizing the ... dwm.suckl

Re: [dwm] dwm new message notification

2007-12-11 Thread Martin Sander
On Mon, Dec 10, 2007 at 03:32:14PM -0500, Jeremy O'Brien wrote: > Is there a way to get new mail notifications from IMAP that would be > suitable for the bar? Thank you! I don't know what you are thinking of exactly, but I used to use fetchmail -c | sed -e 's/[^0-9 (]//g' -e 's/(/-/'|bc`

Re: [dwm] dwm new message notification

2007-12-12 Thread Martin Sander
On Tue, Dec 11, 2007 at 11:28:08PM -0500, Ritesh Kumar wrote: > I think gmail supports RSS for getting unread mail. I clicked on the little > feed icon in my firefox urlbar and I got an RSS page. I guess a little grep > over that should do the trick. Do tell us if that works! Hey, I had a little c

Re: [dwm] dwm and gnome

2007-12-21 Thread Martin Sander
maybe you're interested in this: http://xmonad.org/gnome.html Merry Christmas Martin On Fri, Dec 21, 2007 at 11:08:06PM +0100, pancake wrote: > In a box of my parent's home I have an ubuntu box with gnome. > They feel comfortable with metacity because it doesn't needs > to learn any keybinding,

Re: [dwm] mail notification again

2008-01-10 Thread Martin Sander
On Thu, Jan 10, 2008 at 02:12:30PM +0100, Peter Vollmar wrote: > I don't have cron, so I'm interested in a separate loop (or distinct loop > iterations), but I don't know how to do it :-) You don't have cron? What kind of system are you running? You can just write a short script called e.g. mailc

Re: [dwm] mail notification again

2008-01-11 Thread Martin Sander
On Thu, Jan 10, 2008 at 01:26:20PM +0100, Jukka Salmi wrote: > Peter Vollmar --> dwm (2008-01-09 23:05:49 +0100): > > fetchmail -c|sed 's/(//'|awk '{print $1-$3}' > > BTW: if you use more than one of grep, sed and awk in a single > pipline, you have almost always done something wrong > ;-) okay:

[dwm] Preventing xterm from closing by killclient()

2008-04-09 Thread Martin Sander
Hey. In the last time I repeatedly closed xterm windows on accident by my killclient binding (MODKEY|ShiftMask, XK_c) because I did not see that the xterm had focus and not that stupid other client that does not provide a convenient keyboard shortcut of its own to close. I always close xterms with

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-09 Thread Martin Sander
On Wed, Apr 09, 2008 at 11:25:59PM +0200, Anselm R. Garbe wrote: > Hmm, what about changing the binding to Ctrl-d in your setup > then? Thanks for the suggestion, but I think I did not make myself entirely clear. My problem is of different nature. As an example, I have an xterm with an ipython [2

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-10 Thread Martin Sander
On Wed, Apr 09, 2008 at 07:17:06PM -0400, Jeremy O'Brien wrote: > I recommend looking in applyrules() for some example code. You may be able > to adapt it in killclient() :) I had thought of that before, but I was still using 4.7 with regex matching and that looked complicated to me. Anyway, it w

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-11 Thread Martin Sander
On Fri, Apr 11, 2008 at 12:26:04PM +0200, Anselm R. Garbe wrote: > Just extend struct Client with Bool iskillable and set this > value at the same point as isfloating is set in applyrules, then > you just need to check c->iskillable in killclient(). Thanks for the hint, that is a lot better. > Th

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-11 Thread Martin Sander
On Fri, Apr 11, 2008 at 06:32:54PM +0200, Valentin wrote: > > Just extend struct Client with Bool iskillable and set this > > value at the same point as isfloating is set in applyrules, then > > you just need to check c->iskillable in killclient(). > If I do that, iskillable is set to False by defa

Re: [dwm] Preventing xterm from closing by killclient()

2008-04-12 Thread Martin Sander
On Sat, Apr 12, 2008 at 11:43:52AM +0200, Anselm R. Garbe wrote: > Yea, I propose to call it isimmortal. You're the boss.. I also added a test for arg in killclient, so that I can have an extra keybinding to killclient("somestring") to kill immortals. That takes care of the aforementioned cornerc

Re: [dwm] bloq may used to ignore keybindings

2008-04-23 Thread Martin Sander
On Wed, Apr 23, 2008 at 03:25:55PM +0200, Antoni Grzymala wrote: > Premysl Hruby dixit (2008-04-23, 14:27): > > I prefer to use Mod4 (win key) as MODKEY, so I have no keybinding clash. > Agreed, mod4 is far more comfortable. Not when you have a vintage IBM Model M Keyboard. No Mod4 in sight, still

Re: [dwm] bloq may used to ignore keybindings

2008-04-24 Thread Martin Sander
On Thu, Apr 24, 2008 at 12:43:05PM +0200, Antoni Grzymala wrote: > markus schnalke dixit (2008-04-24, 08:37): > > Antoni Grzymala <[EMAIL PROTECTED]> wrote: > > > Martin Sander dixit (2008-04-24, 01:27): > > > Which, in my case, is mapped to the control-key W

[dwm] floating windows cover statusbar when resized

2008-05-28 Thread Martin Sander
Hey, I found some behaviour that I would consider a bug (maybe its a feature?): I have set feh[1] to be floating in config.h. When I start feh to display two jpgs of different size, feh appears in the upper left corner, just below the bar. When I change to the next jpg using the mouse-wheel, the w

Re: [dwm] Asustek EEE PC 1000 Atom 1GB 40G SSD Linux Black

2008-09-06 Thread Martin Sander
Hey. I thought about buying a netbook, too, and here are my two cents: I saw the Eeepc 900 sitting next to a Acer Aspire One in a shop and tried both of them, and I have one major conclusion: If touchtyping is important for you (and I guess it is, otherwise you wouldn't be reading this mailing lis

Re: [dwm] Asustek EEE PC 1000 Atom 1GB 40G SSD Linux Black

2008-09-07 Thread Martin Sander
On Sat, Sep 06, 2008 at 11:48:05PM -0500, Kurt H Maier wrote: > Alt+F2 brings up a "run" dialog in xfce. Yes, but I think this is disabled in the Acer's Linpus Linux. However, you can use "search for files" (I guess that is using Thunar) to open an xterm as mentioned. As for the manpages: I'd ins