OOOOH. What is '$y' ?

feh --class wallpaper -g +0+$y /path/to/wallpaper.tif

On Mon, Sep 14, 2026 at 7:33 AM Todd Gruhn <[email protected]> wrote:
>
> Thanks; I will play with this.
>
> On Sun, Sep 13, 2026 at 7:49 PM DTB <[email protected]> wrote:
> >
> > 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

Reply via email to