Re: [dwm] xsetroot/status scripting using rc shell?

From: Michael Brown <ebebe33_AT_gmail.com>
Date: Mon, 15 Dec 2008 22:14:43 -0500

These work:
xsetroot -name test
xsetroot -name `{echo test}

These don't:
xsetroot -name `{date}
xsetroot -name `{echo test test}
xsetroot -name `{echo 'test test'}
xsetroot -name (`{echo test test})

Seems the problem has something to do with xsetroot's whitespace handling...

Mike

On Mon, Dec 15, 2008 at 3:15 AM, Anselm R Garbe <garbeam_AT_gmail.com> wrote:
> 2008/12/14 Michael Brown <ebebe33_AT_gmail.com>:
>> Maybe a silly question, but is any p9p user out there able to set the
>> statusbar text with xsetroot using rc(1)?
>
> Did you check if
>
> xsetroot -name foobar
>
> works at all? If not something might be wrong with the DISPLAY variable.
>
>> The following don't seem to work:
>> xsetroot -name `{SCRIPT}
>> xsetroot -name "`{SCRIPT}"
>> xsetroot -name "(`{SCRIPT})"
>
> The first one is correct. Try something like
>
> xsetroot -name `{date}^" "^`{uptime}
>
> for example.
>
> Kind regards,
> --Anselm
>
>
Received on Tue Dec 16 2008 - 03:14:43 UTC

This archive was generated by hypermail 2.2.0 : Tue Dec 16 2008 - 03:24:04 UTC