Merge pull request #736 from blueyed/fix-integration-tests-runner
tests/run.sh: avoid warnings by setting up fg/bg/colors in xrdb
This commit is contained in:
commit
cc5415b389
26
tests/run.sh
26
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)
|
||||
|
|
Loading…
Reference in New Issue