[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] setup background wallaper in ".stumpwmrc"
From: |
Tassilo Horn |
Subject: |
Re: [STUMP] setup background wallaper in ".stumpwmrc" |
Date: |
Tue, 24 Jul 2007 08:28:40 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
arnuld <address@hidden> 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