diff options
author | GhostNaN <59353890+GhostNaN@users.noreply.github.com> | 2020-08-05 16:23:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-05 16:23:11 +0000 |
commit | a8c557b95c72901f54072653cb95eaa1f014bd7e (patch) | |
tree | 9495439f2225ebe34fddc7a064500c6e2f8fd3b2 | |
parent | ba4d4213fe5e5371e5bcff2ec8ed4750ca834c60 (diff) |
Redo building and add notice fo older GPU
Reason: https://github.com/GhostNaN/mpvpaper/issues/1
-rw-r--r-- | README.md | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -2,6 +2,7 @@ # MPVPaper ### MPVPaper is a wallpaper program for wlroots based wayland compositors such as sway that allows you to ~~render glsl shaders~~ play videos with mpv as your wallpaper. ###### Or a fork of glpaper that plays videos using mpv, instead of rendering shaders. + ## Dependencies - mpv - wlroots @@ -12,28 +13,36 @@ - ninja - meson - pkg-config - +### Instructions: +Clone: ``` git clone --single-branch https://github.com/GhostNaN/mpvpaper +``` +Or if you have an older GPU and it doesn't start, use the OpenGL 3.0 version instead: +``` +git clone --single-branch --branch opengl-3.0 https://github.com/GhostNaN/mpvpaper +``` +Build: +``` cd mpvpaper meson build --prefix=/usr ninja -C build ``` -## Installing -### Arch Based: -AUR package: https://aur.archlinux.org/packages/mpvpaper-git/ - -### If building: +Install: ``` ninja -C build install ``` +## Installers +### Arch Based: +AUR package: https://aur.archlinux.org/packages/mpvpaper-git/ + ## Usage ### Running Simple example: ``` mpvpaper DP-2 /path/to/video ``` -You can also pass mpv options by passing "--mpv-options" or "-o" like so: +You can also forward mpv options by passing "--mpv-options" or "-o" like so: ``` mpvpaper -o "no-audio --loop-playlist shuffle" HDMI-A-1 www.url/to/playlist ``` @@ -57,7 +66,7 @@ And make sure you don't let swaybg stand in your way: killall swaybg ``` ## Acknowledgments -- glpaper for the boilderplate code, check em out here: +- glpaper for the boilerplate code, check em out here: - https://hg.sr.ht/~scoopta/glpaper ## License This project is licensed under the GPLv3 License - see the [LICENSE](/LICENSE) file for details |