Add xenodm files

This commit is contained in:
Lucas 2020-08-01 20:53:16 +00:00
parent 4f841a1fac
commit fd6b5cc99e
3 changed files with 72 additions and 0 deletions

View File

@ -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
# <http://creativecommons.org/publicdomain/zero/1.0/>.
.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

View File

@ -0,0 +1,41 @@
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.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

View File

@ -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