1ay1/neowall
Sobre
Mecanismo de papéis de parede animados para Linux, acelerado por GPU e com shaders GLSL. Funciona no Wayland e no X11.
Outros projetosCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +4
- em 15 dias
- +7
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
neowall
GPU shader wallpapers for Linux. Wayland and X11.
neowall runs GLSL fragment shaders as your desktop background. Shadertoy shaders work unmodified, and every shader can react to your music, your system, the time of day, your windows and your colour theme. It also shows images, slideshows, and terminal programs as wallpaper.
- Light on resources. Stops rendering when windows cover the wallpaper (about 0.1% CPU), and you can cap the frame rate or render soft passes at a fraction of the resolution. The default wallpaper costs about 1.2 ms of GPU time per frame at 3440×1440.
- Made for writing shaders. Live reload with errors at the real file and line, offline rendering to PNG or video, per-pass GPU timing, and a check that finds the pass producing NaN pixels.
- Solid. A single C binary with no runtime dependencies beyond the graphics stack, tested under address, undefined-behaviour and thread sanitizers, fuzzed, and checked end to end on real Wayland and X11 sessions.
Install
| Distribution | |
|---|---|
| Arch Linux | paru -S neowall-bin (prebuilt) or neowall-git |
| Debian, Ubuntu | .deb from the latest release |
| Fedora, openSUSE | .rpm from the latest release |
| Nix | nix run github:1ay1/neowall |
| Anything else | the AppImage, or a tarball that runs in place |
Building from source needs a C11 compiler, Meson, Ninja, and the development packages for EGL, OpenGL, libpng, libjpeg, Wayland and wayland-protocols, plus X11 and Xrandr for the X11 backend and xkbcommon for keyboard input to terminal wallpapers:
git clone https://github.com/1ay1/neowall && cd neowall
meson setup build && ninja -C build
sudo ninja -C build install
Quick start
neowall # start; the first run shows the default wallpaper
The configuration lives in ~/.config/neowall/config.vibe:
default {
shader tokyo_night
}
neowall reload applies changes. A slideshow, a terminal program, or a
different wallpaper per monitor are a few lines more; see
CONFIGURATION.md.
| Command | |
|---|---|
neowall next, set <n>, list |
Move through a slideshow or a directory of shaders |
neowall pause, resume |
Stop and restart cycling |
neowall pause-shader, resume-shader |
Freeze and resume the animation; --ease-ms MS eases it to a stop and back |
neowall current |
Show what each monitor displays |
neowall reload, kill |
Re-read the config, stop the daemon |
A paused shader keeps its last frame on screen and the GPU idles.
neowall pause-shader --ease-ms 850 glides the animation to a stop over
850 ms first, and neowall resume-shader --ease-ms 850 speeds it back up
from the exact frame it stopped on. Set shader_pause_ease_ms in the config
to make that the default, for example for a battery hook.
Shaders
About twenty ship with neowall, all freely licensed:
| Vibe | A few |
|---|---|
| Default | tokyo_night |
| Living | garden · circadian_sky · living_aurora |
| Nature | moon_ocean · rain_window · fireflies |
| Reactive | audio_pulse · audio_bars · system_deck |
| Desktop-aware | window_light · window_forge · mouse_ripples |
| Abstract | plasma_touch · neon_city · time |
| Space | star_next · starfield_warp |
To write your own:
neowall new aurora # a working shader in ~/.config/neowall/shaders/
neowall watch aurora # live reload as you edit
neowall render aurora # render it offscreen to aurora.png
SHADERS.md covers the inputs, the standard library, 3D scenes, multiple passes and Shadertoy import.
Compatibility
neowall draws the wallpaper with the wlr-layer-shell protocol on Wayland and
as the root window on X11.
- Works on Hyprland, Sway, river, Wayfire, KDE Plasma and other compositors with layer-shell, and on X11 window managers such as i3, bspwm, awesome, xmonad and qtile.
- Window awareness (shaders reacting to window positions) is available on Hyprland.
- GNOME on Wayland is not supported: Mutter doesn't implement layer-shell, and neowall says so and exits instead of showing nothing.
- KDE Plasma: desktop icons can be hidden while neowall owns the background layer.
- Video is out of scope; for video wallpapers use mpvpaper.
Documentation
| Configuration | Every option, with examples |
| Writing shaders | Inputs, helpers, passes, the authoring tools |
| Performance | Measuring and reducing GPU cost |
| Architecture | How the code is organised, for contributors |
| Contributing | Building, testing and sending changes |
| Changelog | What changed in each release |
man neowall and man neowall.vibe cover the same ground offline.
License
MIT. The bundled shaders in examples/shaders/ are MIT too; community ports
with other licenses live in contrib/ and are
not installed.
Explore projetos relacionados
Carregando…