Render any mpv-playable video (or stream) onto the background layer of a Wayland compositor.
preview.mp4
- A Wayland compositor supporting
wlr-layer-shell(Sway, Hyprland, Niri, etc.) mpv(libmpv), working EGL/OpenGL drivers (Mesa or vendor)
with an AUR helpers
paru -S live-paperyay live-paperor manually
git clone https://aur.archlinux.org/live-paper.git
cd live-paper && makepkg -siNo prebuilt package yet; use the prebuilt GitHub release binary (no compilation needed):
sudo apt-get update
# Assuming your already have Wayland deps
sudo apt-get install -y libmpv2
curl -L https://github.com/sinder38/live-paper-rs/releases/latest/download/live-paper-linux-x86_64.tar.gz | tar xz
sudo install -Dm755 live-paper-linux-x86_64 /usr/local/bin/live-paperBuilds from source; the libmpv, EGL and Wayland development headers must be present.
cargo install live-paperPrebuilt dynamically-linked x86_64 binary (still needs mpv, Mesa and Wayland
installed at runtime):
curl -L https://github.com/sinder38/live-paper-rs/releases/latest/download/live-paper-linux-x86_64.tar.gz | tar xz
install -Dm755 live-paper-linux-x86_64 ~/.local/bin/live-paper# Play a video file as your wallpaper
live-paper ~/Videos/wallpaper.mp4
# Any mpv-compatible source works, including streams
live-paper "https://example.com/clip.mp4"
# No argument -> falls back to the config file, then a built-in test pattern
live-paperRun it from your compositor's autostart (e.g. exec-once = live-paper ~/Videos/wallpaper.mp4 in Hyprland).
Is optional, every field has a default.
Config lives at
$XDG_CONFIG_HOME/live-paper/config.toml (usually ~/.config/live-paper/config.toml).
Copy the sample to get started:
mkdir -p ~/.config/live-paper
# from the AUR/release install:
cp /usr/share/doc/live-paper/config.example.toml ~/.config/live-paper/config.tomlSee config.example.toml for all options (video path,
playback speed, mute, hardware decoding, mpv passthrough, layer settings).
Pass a specific file with -c/--config-path.
- https://github.com/GhostNaN/mpvpaper — inspiration and original mpvpaper project
- https://codeberg.org/LGFae/awww — a more mature project for static wallpapers with transitions
- Daemon persistence and dynamic wallpaper swap
- Publish on more package managers
- Flag ignored config options
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in live-paper-rs by you, as defined in the MIT, shall be licensed as above, without any additional terms or conditions.