Mpvpaper
A video wallpaper program for wlroots based wayland compositors.
Install / Use
/learn @GhostNaN/MpvpaperREADME

mpvpaper
mpvpaper is a wallpaper program for wlroots based wayland compositors, such as sway. That allows you to play videos with mpv as your wallpaper.
Dependencies
Building
Building Requirements:
- ninja
- meson
- libmpv
Clone | Build | Install:
# Clone
git clone --single-branch https://github.com/GhostNaN/mpvpaper
# Build
cd mpvpaper
meson setup build --prefix=/usr/local
ninja -C build
# Install
ninja -C build install
Usage
Simple example:
mpvpaper DP-2 /path/to/video
To play the same video on all outputs:
mpvpaper ALL /path/to/video
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
You can also control mpvpaper just like mpv in the terminal with keyboard bindings.
But if you would like to control mpvpaper while it's forked, you could use a mpv input-ipc-server like this:
mpvpaper -o "input-ipc-server=/tmp/mpv-socket" DP-1 /path/to/video
Then input commands with socat. For example, toggle pause:
echo 'cycle pause' | socat - /tmp/mpv-socket
For more mpv commands read: https://mpv.io/manual/master/#command-interface
For more info on mpvpaper, please refer the the man page.
Acknowledgments
- glpaper and swaybg for the initial boilerplate code, check em out here:
- https://hg.sr.ht/~scoopta/glpaper
- https://github.com/swaywm/swaybg
License
This project is licensed under the GPLv3 License - see the LICENSE file for details
Related Skills
docs-writer
99.4k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
339.5kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
Design
Campus Second-Hand Trading Platform \- General Design Document (v5.0 \- React Architecture \- Complete Final Version)1\. System Overall Design 1.1. Project Overview This project aims t
arscontexta
2.9kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
