This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-18 08:26:55 +02:00
|
|
|
#!/bin/sh
|
2021-03-04 21:35:42 +01:00
|
|
|
|
|
|
|
# You need mpv-devel, meson, ninja, pkg-config
|
|
|
|
|
|
|
|
git clone https://github.com/GhostNaN/mpvpaper
|
|
|
|
|
2021-05-03 03:09:07 +02:00
|
|
|
cd mpvpaper
|
2021-06-11 19:14:35 +02:00
|
|
|
meson build --prefix=$HOME/.local
|
|
|
|
ninja -C build install
|
2021-03-04 21:35:42 +01:00
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
# Control the wallpaper with mpv input-ipc-server:
|
|
|
|
# mpvpaper -f -o "input-ipc-server=/tmp/mpv-socket" DP-1 /path/to/video
|
|
|
|
# echo 'cycle pause' | socat - /tmp/mpv-socket
|
|
|
|
|
|
|
|
# Simply set the wallpaper
|
|
|
|
# mpvpaper -f -o "--no-audio --loop-file" DP-1 /path/to/video
|