From 3730086bcc14e6ebef5c6a0590a75e20990af099 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 4 Mar 2016 01:41:43 +0100 Subject: [PATCH] tests/run.sh: avoid warnings by setting up fg/bg/colors in xrdb --- tests/run.sh | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/tests/run.sh b/tests/run.sh index 02be445d9..3c3577876 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -117,7 +117,31 @@ wait_until_success() { # Wait for DISPLAY to be available, and setup xrdb, # for awesome's xresources backend / queries. -wait_until_success "setup xrdb" "echo 'Xft.dpi: 96' | DISPLAY='$D' xrdb 2>&1" +wait_until_success "setup xrdb" "printf 'Xft.dpi: 96 + *.background: #002b36 + *.foreground: #93a1a1 + *.color0: #002b36 + *.color1: #dc322f + *.color10: #859900 + *.color11: #b58900 + *.color12: #268bd2 + *.color13: #6c71c4 + *.color14: #2aa198 + *.color15: #fdf6e3 + *.color16: #cb4b16 + *.color17: #d33682 + *.color18: #073642 + *.color19: #586e75 + *.color2: #859900 + *.color20: #839496 + *.color21: #eee8d5 + *.color3: #b58900 + *.color4: #268bd2 + *.color5: #6c71c4 + *.color6: #2aa198 + *.color7: #93a1a1 + *.color8: #657b83 + *.color9: #dc322f' | DISPLAY='$D' xrdb 2>&1" # Use a separate D-Bus session; sets $DBUS_SESSION_BUS_PID. eval $(DISPLAY="$D" dbus-launch --sh-syntax --exit-with-session)