RE: [dev] dwm taskbar config

2011-03-23 Thread Wolf Tivy
s/tail recursion/tail call/ > Original Message > Subject: RE: [dev] dwm taskbar config > From: "Wolf Tivy" > Date: Wed, March 23, 2011 9:17 pm > To: "dev mail list" > > > > "like this in your .xinitrc: > > > > while true > > do > > xsetroot -name "`date` `up

RE: [dev] dwm taskbar config

2011-03-23 Thread Wolf Tivy
> "like this in your .xinitrc: > > while true > do > xsetroot -name "`date` `uptime | sed 's/.*,//'`" > sleep 1 > done & > exec dwm That's what you want, put that wherever your DM expects it. This thread is a train wreck of confusion, ignore everything but that sc

Re: [dev] dwm taskbar config

2011-03-23 Thread Patrick Haller
On Wed, Mar 23, 2011 at 10:34:57PM +0200, Le Tian wrote: >Yeah, your variant is better, but why should I make exec dwm? I highly recommend writing a tiny looping shell script .e.g. each of the various ideas below, and watching what they do with pstree or 'ps fax'. #1 while true; do ex

Re: [dev] dwm taskbar config

2011-03-23 Thread flo
On Wed, 23 Mar 2011 23:00:04 +0200, Le Tian wrote: well what I need, is a sample of somebody's config, without exec dwm? cause it is executed right after login by the system, I do not run "startx", I use KDE login manager to start dwm, so .xinitrc with "exec dwm" is useless, am I right? Like

Re: [dev] dwm taskbar config

2011-03-23 Thread Andrew Antle
> I wish there would be a good howto about this stuff, so that regular users > could benefit from it. Sorry With a display manager, I think you're supposed to use . xsession, or edit the dwm.desktop file to execute a script containing what would be in the .xinitrc. I would imagine that a lot of p

Re: [dev] dwm taskbar config

2011-03-23 Thread Le Tian
well what I need, is a sample of somebody's config, without exec dwm? cause it is executed right after login by the system, I do not run "startx", I use KDE login manager to start dwm, so .xinitrc with "exec dwm" is useless, am I right? I'm sorry guys, I'm just a user, and I can't write shell scrip

Re: [dev] dwm taskbar config

2011-03-23 Thread Sean Howard
My apologies. I am at work, no chance to look at my own .xinitrc but I was under the impression I did use exec dwm. Perhaps I don't and am just a bit addled. On 23 March 2011 16:37, Henri Ducrocq wrote: > Doing exec won't allow for execution of the loop since dwm is going to > replace the shell

Re: [dev] dwm taskbar config

2011-03-23 Thread Henri Ducrocq
Doing exec won't allow for execution of the loop since dwm is going to replace the shell process. On Mar 23, 2011 8:35 PM, "Le Tian" wrote: > Yeah, your variant is better, but why should I make exec dwm? when I log in > via kde login manager?( I edited sysconfig, so my default wm is dwm) > That is

Re: [dev] fast-booting to text editor

2011-03-23 Thread Bjartur Thorlacius
If your editor of choice doesn't sport a built-in shell, you may consider starting a text editor on one virtual console, and a general purpose shell on another. You'll probably need a simple init (I recommend a rc script written against a statically compiled /bin/rc) to allocate the consoles (unles

Re: [dev] dwm taskbar config

2011-03-23 Thread Le Tian
Yeah, your variant is better, but why should I make exec dwm? when I log in via kde login manager?( I edited sysconfig, so my default wm is dwm) That is, when I see a login prompt I enter password and start dwm as default. When I make .xinitrc, dwm do not start, I can see only desktop empty screen.

[dev] Another donation way that paypal

2011-03-23 Thread thuban
Hi everyone! At the moment, the only way to donate to suckless.org is paypal : http://suckless.org/donations But I'm part of people who don't like to use paypal. Do you think you could give other way to give money? Why not using flattr : http://flattr.com/ ? Thanks for reading. Xavier

Re: [dev] dwm taskbar config

2011-03-23 Thread Sean Howard
Firstly: you are not closing one of the three nested loops. Secondly: You don't need that many loops, just one infinite loop should be fine. Also, that "&" makes it so it both runs dwm AND continues the loop, this is a good thing. Thirdly:: calling dwm is not a good idea inside any of the loops Fou

Re: [dev] dwm taskbar config

2011-03-23 Thread Le Tian
ok, sorry, thanks, I will look into it

Re: [dev] dwm taskbar config

2011-03-23 Thread Thomas Dahms
Am 23.03.2011, 21:08 Uhr, schrieb Le Tian : ok, now I tried to make .xinitrc file in my home/me dir, and added these lines: while true do while true do while true do xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")" sleep 55s done &

Re: [dev] dwm taskbar config

2011-03-23 Thread Le Tian
ok, now I tried to make .xinitrc file in my home/me dir, and added these lines: while true do while true do while true do xsetroot -name "$(date +"%a, %b %d %Y | %H:%M")" sleep 55s done & /usr/bin/dwm done but it doesn't wor

Re: [dev] dwm taskbar config

2011-03-23 Thread Le Tian
thanks, I will figure out how to do it, cause last time I messed with .xinitrc wmii crashed(

Re: [dev] dwm taskbar config

2011-03-23 Thread Connor Lane Smith
Hi, On 23 March 2011 19:31, Le Tian wrote: > But I have a question, how do I run some script output in my taskbar the way > I did in wmiirc_local, I mean time, hdd space etc. I looked up  config.h but > didn't find anything there to look like bar config. > I will be very happy if you help me. dw

[dev] dwm taskbar config

2011-03-23 Thread Le Tian
Hi everybody, after using wmii for a week, I decided to try dwm, and liked it even MORE! But I have a question, how do I run some script output in my taskbar the way I did in wmiirc_local, I mean time, hdd space etc. I looked up config.h but didn't find anything there to look like bar config. I wi

[dev] Re: [dwm][PATCH] Fix resizing client on non-primary monitor (bug from BUGS file)

2011-03-23 Thread Hiltjo Posthuma
On Sat, Mar 12, 2011 at 4:44 PM, Hiltjo Posthuma wrote: > Offtopic: I noticed when changing the snap variable in config.h to 0 > pixels movemouse() and resizemouse() won't work. Maybe it's a good > idea to remove the check for s`nap, since it's an "unsigned int" type > ?. > Cool, I saw you applie

Re: [dev] [wmii] Tabbed mode?

2011-03-23 Thread Le Tian
I think you have a widescreen, well, its sometimes can be tiresome a bit, but such positioning saves a lot of screen space. You can make tabs(in the taskbar) like (shift + Mod4 + t) > then you write a name of a tab you want, and current active screen become a tab in the taskbar. As alternative you