swww(1)
π swww(1) β the manual page, but make it cute
okay so you opened swww(1), the General Commands Manual entry for swww. bestie, you're in the right place, sit down, grab a snack π
πΈ NAME
swww β A Solution to your Wayland Wallpaper Woes β¨ (yes that's the actual official name, it ate)
π¦ SYNOPSIS
swww <COMMAND>
that's it. one command slot. the rest is vibes π
π COMMANDS
clearβ Fills the specified outputs with the given color ποΈrestoreβ Restores the last displayed image on the specified outputs βͺclear-cacheβ Fills the specified outputs with the given color (yes, the description literally says the same thing asclearβ that's what the page says, i'm just the messenger π)imgβ Sends an image (or animated gif) for the daemon to display πΌοΈinitβ Initializes the daemon π±killβ Kills the daemon πqueryβ Asks the daemon to print output information (names and dimensions) πhelp [COMMAND]β Print help or the help of the given command π«Ά
β¨ OPTIONS
-h,--helpβ Print help (see a summary with-h) π-V,--versionβ Print version π·οΈ
π DESCRIPTION
swww is a wallpaper manager, and the entire concept is iconic: it lets you change what your monitors display as a background by controlling the swww-daemon at runtime. main character energy for your desktop fr fr π
It supports animated gifs ποΈ and putting different stuff in different monitors. and β not me bragging β the author also did their best to make it as resource efficient as possible π₯
To start, begin by running swww init. That will set up the swww-daemon. Then, you can send images to be displayed with swww img. To kill the daemon, use swww kill. that's the whole flow, lowkey simple π
β οΈ heads up bestie: note that swww only works in a compositor that implements the layer-shell protocol. Typically, wlr-roots based compositors. so do a vibe check on your compositor first, otherwise nothing's happening π
π§ FILES
swww will create the following files in your system:
- A socket in
${XDG_RUNTIME_DIR}/swww-${WAYLAND_DISPLAY}.socket, or/tmp/swww/swww-${WAYLAND_DISPLAY}.socket, if$XDG_RUNTIME_DIRis not set. - Cache files in
$XDG_CACHE_HOME/swwwor$HOME/.cache/swwwif$XDG_CACHE_HOMEdoes not exist. These are used to set the wallpaper to the previous image when a monitor is (re)connected or turned on. π₯οΈβ¨
π SEE ALSO
swww-daemon(1) swww-clear(1) swww-img(1) swww-init(1) swww-kill(1) swww-query(1) β go read the whole fam π«Ά
and that's the page!! π it's from 2024-05-05, part of the swww(1) General Commands Manual, so if anything's different in your version, that's on the version, not on me π
slay, go set a wallpaper π¦
π¦ where this page comes from
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- opensuse-leap 16.0: swww 0.9.5-bp160.1.13 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms