From 9a041174c61eb7a1926a704f112433290f681356 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 9 Jul 2021 12:56:09 +0300 Subject: [PATCH] sway-tiny: make default background color modifiable at compile-time --- wayland/sway-tiny/build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wayland/sway-tiny/build b/wayland/sway-tiny/build index c100a567..e2dc11a7 100755 --- a/wayland/sway-tiny/build +++ b/wayland/sway-tiny/build @@ -7,6 +7,11 @@ sed 's/\(const long NSEC\)/static \1/' \ subprojects/seatd/common/log.c > _ mv -f _ subprojects/seatd/common/log.c +# Default background color. +sed 's/0.25f, 0.25f, 0.25f/0.929, 0.870, 0.678/' \ + sway/desktop/render.c > _ +mv -f _ sway/desktop/render.c + export DESTDIR="$1" export CFLAGS="$CFLAGS -Wno-unused-function -Wno-error"