summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostNaN <59353890+GhostNaN@users.noreply.github.com>2020-08-05 16:23:11 +0000
committerGitHub <noreply@github.com>2020-08-05 16:23:11 +0000
commita8c557b95c72901f54072653cb95eaa1f014bd7e (patch)
tree9495439f2225ebe34fddc7a064500c6e2f8fd3b2
parentba4d4213fe5e5371e5bcff2ec8ed4750ca834c60 (diff)
Redo building and add notice fo older GPU
Reason: https://github.com/GhostNaN/mpvpaper/issues/1
-rw-r--r--README.md25
1 files changed, 17 insertions, 8 deletions
diff --git a/README.md b/README.md
index 77472c7..e7986b8 100644
--- a/README.md
+++ b/README.md
@@ -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