TechieDamien

joined 3 years ago
[–] TechieDamien@lemmy.ml 2 points 9 months ago

IANAL but it looks like they are violating Apache 2, as they are supposed to retain the license and mark any changes.

[–] TechieDamien@lemmy.ml 2 points 11 months ago

Sure. If you are using an nvidia optimus laptop, you should also add __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia at the start of the last line when running in hybrid mode to run mpv on the dgpu. You should have a file at ~/.wallpaperrc that contains wallpaper_playlist: /path/to/mpv/playlist. You may want to add this script to your startup sequence via your wm/de.

#!/bin/sh

WALLPAPER_PLAYLIST=$(cat ~/.wallpaperrc | grep -v '^\w*#' | grep 'wallpaper_playlist' | sed "s/wallpaper_playlist: //")


xwinwrap -g 1920x1080 -ov -- mpv -wid WID --no-osc --no-audio --loop-playlist --shuffle --playlist=$WALLPAPER_PLAYLIST

Hope this helps!

[–] TechieDamien@lemmy.ml 1 points 11 months ago (2 children)

I set mpv as the root window which worked well. I stopped using it a while back, but if you are interested, I could dig up the simple script for you (literally one or two lines iirc).

view more: ‹ prev next ›