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 want more default xorg font resour...



details:   https://anonhg.NetBSD.org/xsrc/rev/8f24c33632cf
branches:  trunk
changeset: 6962:8f24c33632cf
user:      nia <nia%NetBSD.org@localhost>
date:      Sun May 08 08:17:06 2022 +0000

description:
want more default xorg font resource definitions,
and a clock on ctwm startup

diffstat:

 external/mit/xdm/dist/config/Xsession.in |  8 ++++++++
 external/mit/xinit/dist/xinitrc.cpp      |  8 ++++++++
 2 files changed, 16 insertions(+), 0 deletions(-)

diffs (57 lines):

diff -r c98fa8c9ca7e -r 8f24c33632cf external/mit/xdm/dist/config/Xsession.in
--- a/external/mit/xdm/dist/config/Xsession.in  Sun May 01 23:12:54 2022 +0000
+++ b/external/mit/xdm/dist/config/Xsession.in  Sun May 08 08:17:06 2022 +0000
@@ -1,5 +1,6 @@
 XCOMM!SHELL_CMD
 XCOMM
+XHASH $NetBSD: Xsession.in,v 1.11 2022/05/08 08:17:06 nia Exp $
 
 XCOMM redirect errors to a file in user's home directory if we can
 
@@ -93,10 +94,17 @@
 Xmag*font:      -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
 Xmessage*font:  -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
 Xmh*font:       -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*font:     -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*manualFontNormal: -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*manualFontBold:   -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*manualFontItalic: -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*directoryFontNormal:      -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
 EOF
        fi
        BINDIR/xsetroot -cursor_name left_ptr
        BINDIR/xsetroot -solid 'rgb:00/22/44'
        BINDIR/uxterm &
+       BINDIR/xclock -digital -strftime '%a %Y-%m-%d %H:%M' \
+               -face "spleen:pixelsize=$fontsize" -g +0+0 &
        exec BINDIR/ctwm -W
 fi
diff -r c98fa8c9ca7e -r 8f24c33632cf external/mit/xinit/dist/xinitrc.cpp
--- a/external/mit/xinit/dist/xinitrc.cpp       Sun May 01 23:12:54 2022 +0000
+++ b/external/mit/xinit/dist/xinitrc.cpp       Sun May 08 08:17:06 2022 +0000
@@ -1,4 +1,5 @@
 XCOMM!SHELL_CMD
+XHASH $NetBSD: xinitrc.cpp,v 1.14 2022/05/08 08:17:06 nia Exp $
 
 userresources=$HOME/.Xresources
 usermodmap=$HOME/.Xmodmap
@@ -62,6 +63,11 @@
 Xmag*font:      -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
 Xmessage*font:  -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
 Xmh*font:       -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*font:     -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*manualFontNormal: -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*manualFontBold:   -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*manualFontItalic: -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
+Xman*directoryFontNormal:      -*-spleen-medium-r-*-*-$fontsize-*-*-*-*-*-*-*
 EOF
 fi
 
@@ -80,5 +86,7 @@
 
 XSETROOT -cursor_name left_ptr
 XSETROOT -solid 'rgb:00/22/44'
+XCLOCK -digital -strftime '%a %Y-%m-%d %H:%M' \
+       -face "spleen:pixelsize=$fontsize" -g +0+0 &
 UXTERM &
 exec CTWM -W



Home | Main Index | Thread Index | Old Index