[xmonad] colourful xterms
Sergey Manucharian
sergey at ingeniware.com
Thu Jun 4 17:10:44 EDT 2009
On Thu, 4 Jun 2009 13:33:54 -0700 (PDT)
Anze Slosar <anze at berkeley.edu> wrote:
......
> A couple of days a made a trivial hack that made me very happy, so I
> want to share the trick here. The trick is to start rxvt-unicode with
>
> -bg \\#`randcolor.py` -fg \\#EEEEEE
>
> where randcolor is a simple python script that returns a random hex
> color with rgb random in range(0..100) (to be dark enough for white
> font):
......
Yeah, I liked that idea several years ago, it was inspired by old
OpenWindows by Sun :)
Actually to avoid "extra dependency" on python you can use a shell
variable:
# echo $RANDOM
it will print a random number every time you use it.
Cheers,
Sergey
More information about the xmonad
mailing list