Re: [dwm] dwm status bar..

2009-04-30 Thread Anselm R Garbe
2009/4/30 Wu, Yue :
> On Thu, Apr 30, 2009 at 08:22:59AM +0100, Anselm R Garbe wrote:
>> 2009/4/30 Wu, Yue :
>> > On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
>> >> use `xsetroot -name ` as dwm's status bar contents are now
>> >> derived from the name attribute of the root window.
>> >> It's a good thing, as you no longer need to play the pipe game.
>> >
>> > It's a pain that I have to install an extra software to achieve this simple
>> > thing. :(
>>
>> There is wmname as well which can be used.
>
> I'll have a try, thank you :) Anyway, I think add it into dwm is a perfect way
> for me, it just a simple function, and won't add much more lines of code I
> think, right?

Reading from stdin is significantly more complex than using an X property.

I refer to the hg history:

http://code.suckless.org/hg/dwm/rev/6d6ed7a9183c

Kind regards,
--Anselm



Re: [dwm] dwm status bar..

2009-04-30 Thread Wu, Yue
On Thu, Apr 30, 2009 at 08:22:59AM +0100, Anselm R Garbe wrote:
> 2009/4/30 Wu, Yue :
> > On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
> >> use `xsetroot -name ` as dwm's status bar contents are now
> >> derived from the name attribute of the root window.
> >> It's a good thing, as you no longer need to play the pipe game.
> >
> > It's a pain that I have to install an extra software to achieve this simple
> > thing. :(
> 
> There is wmname as well which can be used.

I'll have a try, thank you :) Anyway, I think add it into dwm is a perfect way
for me, it just a simple function, and won't add much more lines of code I
think, right?

-- 
Hi,
Wu, Yue



Re: [dwm] dwm status bar..

2009-04-30 Thread Wu, Yue
On Thu, Apr 30, 2009 at 09:06:41AM +0200, Antoni Grzymala wrote:
> Wu, Yue dixit (2009-04-30, 14:53):
> 
> > > It's part of the main Xorg distribution, so I don't think it's
> > > unreasonable to expect people to have it.
> > 
> > Some others haven't... It's just a simple function, if I have no xsetroot
> > installed, and I like this function, I have to install a tool that's much
> > bigger than dwm...
> 
> Really?
> 
> $ ls -l /usr/bin/xsetroot
> -rwxr-xr-x 1 root root 13676 2009-04-08 18:18 /usr/bin/xsetroot*
> $ ls -l /usr/local/bin/dwm 
> -rwxr-xr-x 1 root root 28668 2009-04-27 18:31 /usr/local/bin/dwm*
> 
Hmm, I mean the src's package size. But now I know it's smaller than dwm after
installing :)

-- 
Hi,
Wu, Yue



Re: [dwm] dwm status bar..

2009-04-30 Thread yy
Not modifying the man page when status text behavior was changed was a
big mistake. If nobody does it, I will try to submit a patch and edit
the wiki this afternoon or tomorrow.


-- 
- yiyus || JGL .



Re: [dwm] dwm status bar..

2009-04-30 Thread Anselm R Garbe
2009/4/30 Wu, Yue :
> On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
>> use `xsetroot -name ` as dwm's status bar contents are now
>> derived from the name attribute of the root window.
>> It's a good thing, as you no longer need to play the pipe game.
>
> It's a pain that I have to install an extra software to achieve this simple
> thing. :(

There is wmname as well which can be used.

Kind regards,
--Anselm



Re: [dwm] dwm status bar..

2009-04-30 Thread Kurt H Maier
On Thu, Apr 30, 2009 at 2:06 AM, Antoni Grzymala  wrote:
> Wu, Yue dixit (2009-04-30, 14:53):
>> Some others haven't... It's just a simple function, if I have no xsetroot
>> installed, and I like this function, I have to install a tool that's much
>> bigger than dwm...
>
> Really?

Maybe he means x.org?

# Kurt H Maier



Re: [dwm] dwm status bar..

2009-04-30 Thread Antoni Grzymala
Wu, Yue dixit (2009-04-30, 14:53):

> > It's part of the main Xorg distribution, so I don't think it's
> > unreasonable to expect people to have it.
> 
> Some others haven't... It's just a simple function, if I have no xsetroot
> installed, and I like this function, I have to install a tool that's much
> bigger than dwm...

Really?

$ ls -l /usr/bin/xsetroot
-rwxr-xr-x 1 root root 13676 2009-04-08 18:18 /usr/bin/xsetroot*
$ ls -l /usr/local/bin/dwm 
-rwxr-xr-x 1 root root 28668 2009-04-27 18:31 /usr/local/bin/dwm*

-- 
[a]


pgp0nbiYUprzI.pgp
Description: PGP signature


Re: [dwm] dwm status bar..

2009-04-29 Thread Wu, Yue
On Wed, Apr 29, 2009 at 10:58:10PM -0700, David E. Thiel wrote:
> On Thu, Apr 30, 2009 at 01:50:45PM +0800, Wu, Yue wrote:
> > On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
> > > use `xsetroot -name ` as dwm's status bar contents are now
> > > derived from the name attribute of the root window.
> > > It's a good thing, as you no longer need to play the pipe game.
> > 
> > It's a pain that I have to install an extra software to achieve this simple
> > thing. :(
> 
> It's part of the main Xorg distribution, so I don't think it's
> unreasonable to expect people to have it.

Some others haven't... It's just a simple function, if I have no xsetroot
installed, and I like this function, I have to install a tool that's much
bigger than dwm...

-- 
Hi,
Wu, Yue



Re: [dwm] dwm status bar..

2009-04-29 Thread David E. Thiel
On Thu, Apr 30, 2009 at 01:50:45PM +0800, Wu, Yue wrote:
> On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
> > use `xsetroot -name ` as dwm's status bar contents are now
> > derived from the name attribute of the root window.
> > It's a good thing, as you no longer need to play the pipe game.
> 
> It's a pain that I have to install an extra software to achieve this simple
> thing. :(

It's part of the main Xorg distribution, so I don't think it's
unreasonable to expect people to have it.



Re: [dwm] dwm status bar..

2009-04-29 Thread Valentin
On Thu, Apr 30, 2009 at 01:50:45PM +0800, Wu, Yue wrote:
> On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
>
> It's a pain that I have to install an extra software to achieve this simple
> thing. :(
> 
> -- 
> Hi,
> Wu, Yue
>
So write your own ;) It's not hard to do. 



Re: [dwm] dwm status bar..

2009-04-29 Thread Wu, Yue
On Wed, Apr 29, 2009 at 10:08:09PM -0700, Scytrin dai Kinthra wrote:
> use `xsetroot -name ` as dwm's status bar contents are now
> derived from the name attribute of the root window.
> It's a good thing, as you no longer need to play the pipe game.

It's a pain that I have to install an extra software to achieve this simple
thing. :(

-- 
Hi,
Wu, Yue



Re: [dwm] dwm status bar..

2009-04-29 Thread Scytrin dai Kinthra
use `xsetroot -name ` as dwm's status bar contents are now
derived from the name attribute of the root window.
It's a good thing, as you no longer need to play the pipe game.

On Wed, Apr 29, 2009 at 21:16, Don Harper  wrote:
> Hi,
>  I am coming back to dwm after being away for a while.  I am now
> running 5.5, and my question is how do I get the status back in the bar?
> I used to run something like:
>
>  while true
>  do
>      #sswriter  -d "%m/%d/%y - %I:%M %p" -D eth0 wlan0 "--{ %b0 | M: %m S: %s 
> | %n | %d }--\n"
>      status.sh
>      sleep 15
>  done | dwm
>
> But that does not work anymore.  I do not see on dwm.suckland.org or in
> the man page what I should be doing now...
>
> thanks!
>
> don
>
> --
> Don Harper, RHCE         http://www.donaldharper.com/
>
>         All that we are is the result of what we have thought. - Buddha
>



-- 
stadik.net