swww(1)

πŸ“¦ version 0.9.5, in opensuse-leap 16.0

πŸ’… 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 as clear β€” 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_DIR is not set.
  • Cache files in $XDG_CACHE_HOME/swww or $HOME/.cache/swww if $XDG_CACHE_HOME does 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