diff --git a/utils/openbsd/X11/xenodm/Makefile b/utils/openbsd/X11/xenodm/Makefile new file mode 100644 index 0000000..b3afe67 --- /dev/null +++ b/utils/openbsd/X11/xenodm/Makefile @@ -0,0 +1,24 @@ +# env +# Written in 2020 by Lucas +# CC0 1.0 Universal/Public domain - No rights reserved +# +# To the extent possible under law, the author(s) have dedicated all +# copyright and related and neighboring rights to this software to the +# public domain worldwide. This software is distributed without any +# warranty. You should have received a copy of the CC0 Public Domain +# Dedication along with this software. If not, see +# . +.POSIX: +.SUFFIXES: + +DEST= /etc/X11/xenodm + +all: install + +install: + cp -f Xresources $(DEST) + chmod 444 $(DEST)/Xresources + chown root:bin $(DEST)/Xresources + cp -f Xsetup_0 $(DEST) + chmod 755 $(DEST)/Xsetup_0 + chown root:wheel $(DEST)/Xsetup_0 diff --git a/utils/openbsd/X11/xenodm/Xresources b/utils/openbsd/X11/xenodm/Xresources new file mode 100644 index 0000000..e38213b --- /dev/null +++ b/utils/openbsd/X11/xenodm/Xresources @@ -0,0 +1,41 @@ +xlogin.Login.translations: #override \ + F1: set-session-argument(failsafe) finish-field()\n\ + Left: move-backward-character()\n\ + Right: move-forward-character()\n\ + Home: move-to-begining()\n\ + End: move-to-end()\n\ + CtrlKP_Enter: set-session-argument(failsafe) finish-field()\n\ + KP_Enter: set-session-argument() finish-field()\n\ + CtrlReturn: set-session-argument(failsafe) finish-field()\n\ + Return: set-session-argument() finish-field() + +xlogin.Login.greeting: CLIENTHOST +xlogin.Login.namePrompt: user: +xlogin.Login.passwdPrompt: pass: +xlogin.Login.fail: Login incorrect or forbidden + +xlogin.Login.face: monospace-10.5 +xlogin.Login.failFace: monospace-10.5 +xlogin.Login.greetFace: monospace-10.5 +xlogin.Login.promptFace: monospace-10.5 +!xlogin.Login.face: Fixed:pixelsize=14 +!xlogin.Login.failFace: Fixed:pixelsize=14 +!xlogin.Login.greetFace: Fixed:pixelsize=14 +!xlogin.Login.promptFace: Fixed:pixelsize=14 + +xlogin.Login.frameWidth: 2 +xlogin.Login.innerFramesWidth: 0 +xlogin.Login.sepWidth: 1 + +xlogin.Login.background: #0c0700 +xlogin.Login.foreground: #fff8f0 + +xlogin.Login.failColor: #dc3a23 +xlogin.Login.greetColor: #61d6ea +xlogin.Login.hiColor: #f7be00 +xlogin.Login.inpColor: #0c0700 +xlogin.Login.promptColor: #fff8f0 +xlogin.Login.shdColor: #f7be00 + +xlogin.Login.useShape: true +xlogin.Login.logoPadding: 0 diff --git a/utils/openbsd/X11/xenodm/Xsetup_0 b/utils/openbsd/X11/xenodm/Xsetup_0 new file mode 100755 index 0000000..9c4d4b5 --- /dev/null +++ b/utils/openbsd/X11/xenodm/Xsetup_0 @@ -0,0 +1,7 @@ +#!/bin/sh +xset r rate 300 75 + +/usr/local/bin/sct 4500 +xsetroot -solid "#0c0700" +/usr/local/bin/xli -onroot -gamma 2.2 \ + /etc/X11/xenodm/pixmaps/FreeHugsBSD-bg.png