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
> "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
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
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
> 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
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
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
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
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
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.
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
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
ok, sorry, thanks, I will look into it
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 &
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
thanks, I will figure out how to do it, cause last time I messed with
.xinitrc wmii crashed(
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
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
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
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
20 matches
Mail list logo