Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xinit/dist Slightly nicer default colors for ...
details: https://anonhg.NetBSD.org/xsrc/rev/f14b99d65cf2
branches: trunk
changeset: 10567:f14b99d65cf2
user: nia <nia%NetBSD.org@localhost>
date: Fri Oct 02 13:45:07 2020 +0000
description:
Slightly nicer default colors for various X11 apps
diffstat:
external/mit/xdm/dist/config/Xsession.in | 8 ++++++++
external/mit/xinit/dist/xinitrc.cpp | 8 ++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diffs (36 lines):
diff -r 03369ee701e6 -r f14b99d65cf2 external/mit/xdm/dist/config/Xsession.in
--- a/external/mit/xdm/dist/config/Xsession.in Fri Oct 02 07:33:47 2020 +0000
+++ b/external/mit/xdm/dist/config/Xsession.in Fri Oct 02 13:45:07 2020 +0000
@@ -61,6 +61,14 @@
else
if [ -r "$resources" ]; then
BINDIR/xrdb -load "$resources"
+ else
+ BINDIR/xrdb -load - <<EOF
+#if COLOR
+*customization: -color
+*VT100.foreground: grey90
+*VT100.background: black
+#endif
+EOF
fi
BINDIR/uxterm &
exec BINDIR/ctwm -W
diff -r 03369ee701e6 -r f14b99d65cf2 external/mit/xinit/dist/xinitrc.cpp
--- a/external/mit/xinit/dist/xinitrc.cpp Fri Oct 02 07:33:47 2020 +0000
+++ b/external/mit/xinit/dist/xinitrc.cpp Fri Oct 02 13:45:07 2020 +0000
@@ -33,6 +33,14 @@
#else
XRDB -merge "$userresources"
#endif
+else
+ XRDB -merge - <<EOF
+#if COLOR
+*customization: -color
+*VT100.foreground: grey90
+*VT100.background: black
+#endif
+EOF
fi
if [ -f "$usermodmap" ]; then
Home |
Main Index |
Thread Index |
Old Index