Skip to content
xilefenkoPublic

About

Parallax wallpaper rendering for Wayland desktops. Paralume layers images at different depths and moves them with your mouse cursor; timed wallpapers can change and cross-fade over the day.Me Playing arounf with lwp

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

269 Commits

Folders and files

Repository files navigation

Paralume

Paralume

Parallax wallpaper rendering for Wayland desktops. Paralume layers images at different depths and moves them with your mouse cursor; timed wallpapers can change and cross-fade over the day.

Requirements | Installation | Configuration | Creating Wallpapers | Credits and License

Demo

Bildschirmaufnahme_20260628_144037.webm
Bildschirmaufnahme_20260628_143901.webm

Wayland only. Paralume requires zwlr-layer-shell-v1. Tested compositors include Sway, Hyprland, River, Wayfire, labwc, and KDE Plasma Wayland. GNOME is not supported because it does not expose that protocol.

Requirements

Runtime:

  • A Wayland compositor that implements zwlr-layer-shell-v1
  • libconfig for configuration file parsing
  • libinput and libudev for mouse tracking
  • GTK4 for the configuration UI
  • Access to /dev/input/event* through the included udev rule or membership in the input group

Build:

  • CMake 3.13 or newer
  • wayland-client, wayland-egl, wayland-scanner
  • EGL, GLESv2
  • expat
  • libinput, libudev, libconfig, GTK4

Installation

From a release tarball

# Extract to /usr/local
sudo tar -xf paralume-*.tar.gz --directory /usr/local

# Enable mouse parallax.
# Option A: install the udev rule, then log out and back in.
sudo cp /usr/local/lib/udev/rules.d/70-lwp.rules /etc/udev/rules.d/
sudo udevadm control --reload

# Option B: add yourself to the input group, then log out and back in.
sudo usermod -aG input "$USER"

# Enable the daemon at login.
systemctl --user enable --now lwpd

# Open the configuration UI.
lwp

Build from source

git clone https://github.com/xilefenko/lwp-2
cd lwp-2
mkdir build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local
cmake --build .
sudo cmake --install .
cpack

The installed command names remain lwp for the configurator and lwpd for the daemon.

Mouse Input

lwpd uses libinput for mouse tracking. It needs read access to /dev/input/event*.

On a normal desktop session, the installed udev rule grants access through uaccess. If you installed from source without installing the rule:

sudo cp dist/70-lwp.rules /etc/udev/rules.d/
sudo udevadm control --reload
# then log out and back in

Alternatively:

sudo usermod -aG input "$USER"
# then log out and back in

If input devices cannot be opened, the daemon keeps running with parallax frozen at center. To disable mouse parallax, set input_enabled = false in ~/.config/lwp/lwp.cfg or turn off Mouse input in the configurator.

Systemd

A user service is included:

systemctl --user enable --now lwpd
systemctl --user status lwpd

To reload after changing files manually:

systemctl --user reload-or-restart lwpd
# or send the IPC command directly:
echo reload | socat - UNIX-CONNECT:"$XDG_RUNTIME_DIR/lwpd.sock"

The configurator sends reload automatically after saving.

GNOME

GNOME deliberately does not implement zwlr-layer-shell-v1, which Paralume uses to place a surface behind normal windows. There is no workaround in Paralume.

Configuration

Paralume stores user configuration under ~/.config/lwp/.

Open the configurator with:

lwp

The full configurator guide is in docs/CONFIGURATOR.md. It covers the daemon controls, preview mode, global settings, monitor assignment, wallpaper creation, duplication, editing, deletion, timed columns, layer rows, image cells (click or drag-and-drop), tinting, transitions, and the generated config files.

For the data flow, IPC commands, file-format reference (wallpaper.cfg and timed.xml), the --probe diagnostic, and the compositor-support matrix, see docs/ARCHITECTURE.md.

Creating Wallpapers

Wallpapers are directories under either:

  • ~/.config/lwp/wallpapers/ for user-created wallpapers
  • /usr/local/share/lwp/wallpapers/ by default for installed sample wallpapers

Each wallpaper directory contains:

  • wallpaper.cfg, a libconfig file with movement, safe-zone, layer count, and timed XML settings
  • timed.xml, the timed matrix edited by the configurator
  • assets/, image files copied and content-addressed by the configurator

Supported image formats are BMP, PNG, and JPEG.

Credits and License

Paralume is a fork of Layered WallPaper by Jakub Szczerbiński: https://github.com/jszczerbinsky/lwp

The original project is MIT licensed. Its copyright notice is preserved in LICENSE.txt. Additional bundled third-party notices are listed in NOTICE.md. Keep both files with source and binary distributions.

The bundled sample wallpapers (Cave and Jungle) were made by the Paralume author as simple demos and are released into the public domain — see wallpapers/CREDITS.md.

About

Parallax wallpaper rendering for Wayland desktops. Paralume layers images at different depths and moves them with your mouse cursor; timed wallpapers can change and cross-fade over the day.Me Playing arounf with lwp

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages