logo       

Re: [STUMP] setup background wallaper in ".stumpwmrc": msg#00013

window-managers.stumpwm.devel

Subject: Re: [STUMP] setup background wallaper in ".stumpwmrc"

arnuld <geek.arnuld@xxxxxxxxx> writes:

Hi Arnuld,

> in ".stumpwmrc", how can i set up a jpeg/png wallpaper for stumpwm
> background ?

I use this:

,----[ ~/.stumpwmrc ]
| (defparameter *th-wallpaper/border/options*
| '(#p"/home/heimdall/.kde/share/wallpapers/fsm.jpg"
| "black"
| "-fullscreen")
| "A list with the car being the image file, the second element
| being the color used by the border if the image is smaller than
| the screen and the third element other options to be passed to
| `xsetbg'")
|
| (defun th-set-wallpaper ()
| (run-shell-command (format nil "xsetbg -border ~a ~a ~a"
| (second *th-wallpaper/border/options*)
| (third *th-wallpaper/border/options*)
| (first *th-wallpaper/border/options*))))
| (th-set-wallpaper)
`----

Bye,
Tassilo
--
VI VI VI - The Roman Number Of The Beast


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise