Bgv – Script for Desktop Background Video

I don’t have a screen recorder installed right now but here is a still shot of a video I took this morning.

3 Likes

So you got xwinwrap-git installed and it now works for you?
Which DM & DE are you using?

Re simplicity: That was my original intention. I might want to play a video in the background once in a while (or to show-off, of course), so I thought there should be something simple to switch it on & off. Without the overhead of a full-blown GUI solution.

1 Like

that is on Openbox.

v0.5 adds opacity for subtle overlayed video effects :wink:

$ bgv --help
Usage: bgv [OPTIONS] [VIDEO]

bgv sets a background video for the X11 desktop.
Uses xwinwrap (yay -S xwinwrap-git) and mpv.

Options:
  -h, --help     Show this help.
  -o, --opacity  Opacity of background video, default=1.0 [0.0..1.0]
  -V, --version  Show version number of this script.
  -v, --volume   Volume of background video, default=0 [-1..100]

Video:
  (none)         Stop bgv, revert to previous desktop background.
  /path/to/file  Set local video file as background.
  URL            Set video at URL as background; requires Internet.
                 You can use YouTube URLs.
3 Likes