sway-tiny: make default background color modifiable at compile-time

This commit is contained in:
Dylan Araps 2021-07-09 12:56:09 +03:00
parent e52a9fb52f
commit 9a041174c6
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 5 additions and 0 deletions

View File

@ -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"