NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cooless with feh



On Sun Sep 13, 2026 at 1:19 PM MDT, Todd Gruhn wrote:
How to make a wallpaper appear to be sliding
of the screen. In the up/down directions.

Perhaps something like the following sh(1) loop would accomplish
something similar:

# I have not tried this! You may have to debug.
sh -ec '
while :; do
	pkill feh || true
	feh --class wallpaper -g +0+$y /path/to/wallpaper.tif

	y=$(echo $y 1 + p | dc) # +1 per round
	test $y -gt 100 && y=0  # 0-100
	sleep 5                 # 5s
done' &

It would have to be running in the background of a window manager
configured to not manage the feh process with the X class hint
"wallpaper".

:3 <3 -3



Home | Main Index | Thread Index | Old Index