Find a file
James Knight 1a70f3ab56 build: avoid git repository discovery when determining version
When attempting to use Git to populate commit/branch information in a
version string, it is possible through repository discovery that it
uses Git information not relevant to project. For example, if
repository content is extract into an interim build location when using
an embedded build framework (e.g. Buildroot), the project will not have
its Git repository to refer to. When it cannot find its repository, it
will look into its parent folders and may find the Git repository of
another project and use its branch/commit information.

This commit provides an explicit path to the project's Git repository
when consider commit/branch information. This will prevent any
repository discovery from occurring.

Signed-off-by: James Knight <james.d.knight@live.com>
2024-08-03 18:37:17 +02:00
include build: use add_project_arguments instead of configuration_data 2021-07-19 13:16:38 +02:00
.build.yml ci: add .build.yml 2021-07-19 11:59:32 +02:00
.editorconfig Add editorconfig 2021-11-19 09:20:51 +01:00
.gitignore Split swaybg into a standalone project 2019-04-25 11:03:40 -04:00
background-image.c Correct for image orientation when loading image 2024-04-16 10:33:36 +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 build: define _POSIX_C_SOURCE globally 2024-04-28 10:16:06 +02:00
main.c Fix crash when new output added 2024-05-21 18:28:45 +02:00
meson.build build: avoid git repository discovery when determining version 2024-08-03 18:37:17 +02:00
meson_options.txt Split swaybg into a standalone project 2019-04-25 11:03:40 -04:00
pool-buffer.c build: define _POSIX_C_SOURCE globally 2024-04-28 10:16:06 +02:00
README.md Replace xdg_output with wl_output v4 2022-06-03 16:23:22 +02:00
swaybg.1.scd Unify color validation and parsing functions 2023-12-20 16:17:23 +01: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 wlr-layer-shell protocol and wl_output version 4.

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

Release Signatures

Releases are signed with E88F5E48 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 (optional: image formats other than PNG)
  • scdoc (optional: man pages) *
  • git (optional: version information) *

* Compile-time dep

Run these commands:

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