mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-04 21:28:21 -05:00
be9599d1dd
And some clean up
19 lines
447 B
Bash
Executable File
19 lines
447 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# You need mpv-devel, meson, ninja, pkg-config
|
|
|
|
git clone https://github.com/GhostNaN/mpvpaper
|
|
|
|
cd mpvpaper
|
|
meson build --prefix=$HOME/.local
|
|
ninja -C build install
|
|
|
|
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
|