Skip to content
NomadcxxPublic

About

A wallpaper utility that handles static images and a huge number of video types via gstreamer.

Topics

Resources

Stars

85 stars

Watchers

1 watching

Forks

Repository files navigation

gSlapper Logo gSlapper switching wallpapers with wave, grow, center and wipe transitions, then playing a video wallpaper

gSlapper is a drop-in replacement for mpvpaper that plays both videos and static images. It uses GStreamer instead of libmpv: one pipeline decodes for all monitors, frames reach the GPU without copies, and memory stays flat over long sessions on any compositor, including NVIDIA where mpvpaper leaks.

Quick Start

# Video wallpaper
gslapper -o "loop" DP-1 /path/to/video.mp4

# Static image wallpaper
gslapper -o "fill" DP-1 /path/to/image.jpg

# All monitors
gslapper -o "loop" '*' /path/to/video.mp4

Full documentation available at: https://nomadcxx.github.io/gSlapper/

Features

  • Play videos (MP4, MKV, WebM) and images (JPEG, PNG, WebP, GIF)
  • Animated GIF playback with correct frame timing and looping (requires gst-libav; shows the first frame statically without it)
  • Transitions between images: fade, wipes, waves and circles
  • Multi-monitor support
  • IPC control via Unix socket (pause, resume, change wallpaper)
  • Scaling modes: fill, stretch, original, panscan
  • Lower CPU, RAM, and GPU use than mpvpaper on any Wayland compositor

Installation

Arch Linux

yay -S gslapper

Debian / Ubuntu / Fedora

Prebuilt packages are attached to every release:

# Debian 13 (also Ubuntu 25.x)
sudo apt install ./gslapper_<version>_debian13_amd64.deb

# Ubuntu 24.04
sudo apt install ./gslapper_<version>_ubuntu24.04_amd64.deb

# Fedora 42+
sudo dnf install ./gslapper-<version>-1.fedora42.x86_64.rpm

Void Linux

Download the native XBPS package for x86_64 (glibc) or x86_64-musl from Releases. Verify it with SHA256SUMS-void, then install it from a local repository:

sha256sum --ignore-missing -c SHA256SUMS-void
xbps-rindex -a ./gslapper-*.xbps
sudo xbps-install -R "$PWD" gslapper

Release CI builds and install-checks both variants. Each release includes a source archive with the Void recipe.

Manual Build

git clone https://github.com/Nomadcxx/gSlapper.git
cd gSlapper
meson setup build --prefix=/usr/local
ninja -C build
sudo ninja -C build install

Run the unit checks with meson test -C build --print-errorlogs. The runtime checks start a headless Sway and read pixels back with grim. Run them as an ordinary user with Sway, grim and software Mesa installed:

python3 tests/check_compositor_disconnect.py build/gslapper /path/to/wallpaper.png

Nix / NixOS

git clone https://github.com/Nomadcxx/gSlapper.git
cd gSlapper
nix build
./result/bin/gslapper --help

For development:

nix develop

See Nix Installation Guide for system integration options.

License

GPL-3.0 License - see LICENSE

Credits


RAMA — terminal-native tooling for the linux desktop. More projects → · Sponsor ❤️

About

A wallpaper utility that handles static images and a huge number of video types via gstreamer.

Topics

Resources

Stars

85 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages