On Sun, Aug 17, 2008 at 12:28 AM, Martin Toft <[EMAIL PROTECTED]> wrote:

> On Sat, Aug 16, 2008 at 08:04:51PM +0200, Earin Gregor wrote:
> > Only question still remains: Is there a way to keep one
> > window/application always raised above others? Would be nice in my
> > case for xclock :-)
>
> Try this:
>
>  In ~/.cwmrc:
>
>    gap 0 34 0 0
>    ignore xclock
>
>  In ~/.xinitrc or ~/.xsession (startx or xdm, I use a symlink...):
>
>    xsetroot -solid black &
>    xclock -geometry -0-0 -d -strftime '%H:%M %b %d %Y' -update 1 &
>    exec cwm
>
>  In ~/.Xdefaults:
>
>    xclock*background: black
>    xclock*foreground: green
>
> Martin
>


Yes the 'gap' command is quite nice but it does not exactly the same thing
though. More like a workaround =)
But definitly nice.

My current config is this:

$ cat .cwmrc
gap 30 0 0 0
ignore xclock
$ cat .Xdefaults
XTerm*loginShell: true
XTerm*faceName:
XTerm*faceSize: 10
XTerm*foreground: white
XTerm*background: black
XTerm*scrollBar: true
XTerm*visualBell: true
XClock*update: 1
XClock*analog: false
$ cat .xsession
xsetroot -solid black
display -backdrop -window root ~/Downloads/wallpaper.jpg
xclock -geometry 185x30-0+0 &
xterm -geometry 75x59+0+0 &
exec cwm


and produces this:
http://img142.imageshack.us/my.php?image=sstw5.jpg
http://img142.imageshack.us/my.php?image=ss2bu2.jpg

Not bad already.

Thank you for your hints.

Reply via email to