Find a file
Manuel Stoeckl ccbd046b33 React only to most recent configure event
When outputs are dynamically resized, as can happen when sway
is run nested with its wayland or x11 backend, layer shell programs
receive a stream of configure events. In such cases, only rendering
a frame for the last configure event avoids wasted computation.
2021-06-22 20:07:56 +02:00
include cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:29:07 +02:00
.gitignore Split swaybg into a standalone project 2019-04-25 11:03:40 -04:00
background-image.c cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:29:07 +02:00
cairo.c cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:29:07 +02:00
LICENSE Split swaybg into a standalone project 2019-04-25 11:03:40 -04:00
log.c Split swaybg into a standalone project 2019-04-25 11:03:40 -04:00
main.c React only to most recent configure event 2021-06-22 20:07:56 +02:00
meson.build meson: drop unused libxkbcommon 2019-04-26 19:07:24 +03:00
meson_options.txt Split swaybg into a standalone project 2019-04-25 11:03:40 -04:00
pool-buffer.c cairo: Replace <cairo/cairo.h> by <cairo.h> 2021-05-10 10:29:07 +02:00
README.md readme: fix url to the releases 2019-05-04 15:08:26 +03:00
swaybg.1.scd Made the link in the manpage redirect to the swaybg project instead of sway. 2019-08-09 08:03:44 +09:00
wlr-layer-shell-unstable-v1.xml Fix typo 2021-04-12 21:28:15 +02:00

swaybg

swaybg is a wallpaper utility for Wayland compositors. It is compatible with any Wayland compositor which implements the following Wayland protocols:

  • wlr-layer-shell
  • xdg-output
  • xdg-shell

See the man page, swaybg(1), for instructions on using swaybg.

Release Signatures

Releases are signed with B22DA89A and published on GitHub. swaybg releases are managed independently of sway releases.

Installation

From Packages

swaybg is available in many distributions. Try installing the "swaybg" package for yours.

If you're interested in packaging swaybg for your distribution, stop by the IRC channel or shoot an email to sir@cmpwn.com for advice.

Compiling from Source

Install dependencies:

  • meson *
  • wayland
  • wayland-protocols *
  • cairo
  • gdk-pixbuf2 **
  • scdoc (optional: man pages) *
  • git *

*Compile-time dep

**optional: required for background images other than PNG

Run these commands:

meson build
ninja -C build
sudo ninja -C build install