commit bca42137ecfeb2f0ae71a6b70f17a710e07f2bf1
parent b07e5e1e839add813a44c5797fbb99e542d2086a
Author: Robbie D <git@robertdherb.com>
Date: Mon, 30 Dec 2019 10:55:46 -0600
Added xenodm(1) config.
Diffstat:
2 files changed, 158 insertions(+), 0 deletions(-)
diff --git a/phoebe/xenodm/Xresources b/phoebe/xenodm/Xresources
@@ -0,0 +1,142 @@
+! $OpenBSD: Xresources.in,v 1.2 2019/04/16 05:51:04 matthieu Exp $
+!
+!
+!
+!
+!
+
+
+
+
+xlogin*login.translations: #override \
+ <Key>F1: set-session-argument(failsafe) finish-field()\n\
+ <Key>Left: move-backward-character()\n\
+ <Key>Right: move-forward-character()\n\
+ <Key>Home: move-to-begining()\n\
+ <Key>End: move-to-end()\n\
+ Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
+ <Key>KP_Enter: set-session-argument() finish-field()\n\
+ Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
+ <Key>Return: set-session-argument() finish-field()
+
+xlogin*greeting: CLIENTHOST
+!xlogin*namePrompt: \040\040\040\040\040\040\040Login:
+!defined later
+xlogin*fail: Login incorrect or forbidden
+
+#if WIDTH > 800
+xlogin*greetFont: -adobe-helvetica-bold-o-normal--24-240-75-75-p-138-iso8859-1
+xlogin*font: -adobe-helvetica-medium-r-normal--18-180-75-75-p-98-iso8859-1
+xlogin*promptFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
+xlogin*failFont: -adobe-helvetica-bold-r-normal--18-180-75-75-p-103-iso8859-1
+xlogin*greetFace: spleen:pixelsize=16:antialias=false
+xlogin*face: spleen:pixelsize=16:antialias=false
+xlogin*promptFace: spleen:pixelsize=16:antialias=false
+xlogin*failFace: spleen:pixelsize=16:antialias=false
+#else
+xlogin*greetFont: spleen:pixelsize=16:antialias=false
+xlogin*font: spleen:pixelsize=16:antialias=false
+xlogin*face: spleen:pixelsize=16:antialias=false
+xlogin*promptFace: spleen:pixelsize=16:antialias=false
+xlogin*failFace: spleen:pixelsize=16:antialias=false
+#endif
+
+#if !(defined(bpp1) || defined(bpp4) || defined(bpp8) || defined(bpp15))
+# if PLANES < 4
+# ifndef bpp1
+# define bpp1
+# endif
+# else
+# if PLANES > 4
+# if PLANES > 8
+# ifndef bpp15
+# define bpp15
+# endif
+# else
+# ifndef bpp8
+# define bpp8
+# endif bpp8
+# endif
+# else
+# ifndef bpp4
+# define bpp4
+# endif
+# endif
+# endif
+#endif /* If manual override */
+
+#ifndef bpp1
+xlogin*borderWidth: 0
+xlogin*frameWidth: 0
+xlogin*innerFramesWidth: 0
+
+xlogin.Login.sepWidth: 0
+
+! top/left border
+xlogin*hiColor: #000000
+
+! bottom/right border
+xlogin*shdColor: #000000
+
+! 'Welcome to..' text color
+xlogin*greetColor: #a574b7
+#if defined(bpp4) || defined(bpp8) || defined(bpp15)
+! flood fill
+xlogin*background: #0c050f
+xlogin*inpColor: #0c050f
+#endif
+xlogin*failColor: #211327
+
+! 'Login:' and 'Password:'
+*Foreground: #a574bf
+
+! border/shadow
+*Background: #0c050f
+#else
+xlogin*borderWidth: 0
+xlogin*frameWidth: 0
+xlogin*innerFramesWidth: 0
+xlogin*shdColor: white
+xlogin*hiColor: white
+xlogin*greetColor: white
+xlogin*background: black
+xlogin*failColor: #211327
+xlogin*promptColor: white
+*Foreground: #a574b7
+*Background: 0c050f
+#endif
+#ifdef bpp1
+xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_1bpp.xpm
+#endif
+#ifdef bpp4
+xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_4bpp.xpm
+#endif
+#ifdef bpp8
+xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_8bpp.xpm
+#endif
+#ifdef bpp15
+!xlogin*logoFileName: /etc/X11/xenodm/pixmaps/OpenBSD_15bpp.xpm
+#endif
+
+xlogin*useShape: true
+xlogin*logoPadding: 10
+
+! uncomment to disable logins
+! xlogin.Login.allowRootLogin: false
+
+XConsole*background: black
+XConsole*foreground: white
+XConsole*borderWidth: 2
+XConsole*borderColor: grey
+XConsole.text.geometry: 480x130
+XConsole.verbose: true
+XConsole*iconic: true
+XConsole*font: fixed
+
+
+! Some other stuff, special thanks to Roman Zolotarev
+! https://www.romanzolotarev.com/openbsd/xenodm.html
+
+xlogin.Login.echoPasswd: true
+xlogin*namePrompt: Username\040
+xlogin*passwdPrompt: Password\040
diff --git a/phoebe/xenodm/Xsetup_0 b/phoebe/xenodm/Xsetup_0
@@ -0,0 +1,16 @@
+#!/bin/sh
+# $OpenBSD: Xsetup_0,v 1.6 2019/06/29 13:33:06 espie Exp $
+
+#RH 2019-11-11
+#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
+xsetroot -solid '#0c050f'
+
+ install package openbsd-backgrounds
+ then uncomment:
+
+ if test -x /usr/local/bin/openbsd-wallpaper
+ then
+ /usr/local/bin/openbsd-wallpaper
+ fi
+
+# sxpm OpenBSD.xpm &