NetBSD-Users archive

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

Re: Cooless with feh



    Date:        Mon, 14 Sep 2026 16:33:14 -0400
    From:        Todd Gruhn <tgruhn2%gmail.com@localhost>
    Message-ID:  <CA+9Akf89Zeohq_pANuMwVXwnKLN0FuKofSPPYT8FRZ-C_8G4qQ%mail.gmail.com@localhost>

  | feh --bg-fill   -g +0+"$y"
  | /usr/local/share/wallpapers/MATRIX-screen-1920x1080.jpg || exit
  |
  |
  | I cant see *.jpg moving up. It looks like the 'feh --bg-fill' that I
  | use in .xinitrc (doing this on/in the root-window)

It would be.   That is not what was intended to do the moving, the changing
value of y was to do that.   But that can only happen if either the feh
command exits, or it is run in the background (the version where it ends
with the '&') so the script can continue, calculate a new value for y, and
run that (killing the first feh, and starting a new one).

As written it would move very slowly, 1 pixel down, not up, every 5 seconds.
That means about 8-9 minutes to move the 100 steps that the script runs
before it starts again at 0.

For testing you could make the "sleep 5" be "sleep 1" and the "+1" added
to y be +10 instead, then it would move 10 pixels every second, rather
that 1 every 5 seconds.   That you should be able to see.

But it won't move at all as long as the feh command remains running in
the foreground.

You should also read the manual page for feh, see if it has any options
to make all of this easier - as I said, I know nothing about it at all,
and don't want to know anything about it at all, I don't like wallpapers.

kre



Home | Main Index | Thread Index | Old Index