commit 25592ada4ebdb11e00532099cc9c6426eb064181
parent 024bc71d89f7399028c4f7beeaf392028ebe4831
Author: KB <lamdacore@tzen2.lan.kausban.com>
Date: Fri, 29 Apr 2022 00:53:24 +0200
dmenu pin-entry. Added xenodm rice.
Diffstat:
5 files changed, 83 insertions(+), 0 deletions(-)
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
@@ -0,0 +1 @@
+pinentry-program /usr/local/bin/pinentry-dmenu
diff --git a/.xsession b/.xsession
@@ -10,6 +10,9 @@ xrdb -merge $HOME/.config/X11/xresources
# delay and repeat
xset r rate 500 50
+# dpi
+xrandr --dpi 96
+
# set your background color
xsetroot -solid dimgray
diff --git a/abs/xenodm/GiveConsole b/abs/xenodm/GiveConsole
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Assign ownership of the console to the invoking user
+# $OpenBSD: GiveConsole.in,v 1.2 2022/01/06 23:35:41 jsg Exp $
+#
+# By convention, both xconsole and xterm -C check that the
+# console is owned by the invoking user and is readable before attaching
+# the console output. This way a random user can invoke xterm -C without
+# causing serious grief.
+#
+
+/usr/bin/pkill xclock
+
+prefix="/usr/X11R6"
+exec_prefix="${prefix}"
+
+chown $USER /dev/console
+if [ -c /dev/dri/card0 ]; then
+ chown $USER /dev/dri/card0
+fi
+if [ -c /dev/dri/renderD128 ]; then
+ chown $USER /dev/dri/renderD128
+fi
+${exec_prefix}/bin/sessreg -a -l $DISPLAY -u none $USER
diff --git a/abs/xenodm/Xresources b/abs/xenodm/Xresources
@@ -0,0 +1,33 @@
+! $OpenBSD: Xresources.in,v 1.3 2020/06/28 15:38:34 matthieu Exp $
+!
+
+xlogin.Login.echoPasswd: true
+xlogin*greeting:
+xlogin*namePrompt:
+xlogin*passwdPrompt:
+xlogin*fail: Who The Fuck Are You?
+xlogin.Login.allowRootLogin: false
+
+xlogin*greetFace: Spleen-18:bold:italic:dpi=75
+xlogin*face: Spleen-12:dpi=75
+xlogin*promptFace: Spleen-12:bold:dpi=75
+xlogin*failFace: Spleen-12:bold:dpi=75
+xlogin*borderWidth: 0
+xlogin*frameWidth: 0
+xlogin*innerFramesWidth: 0
+xlogin.Login.sepWidth: 0
+xlogin*background: black
+xlogin*inpColor: #000000
+xlogin*failColor: #ff4d29
+xlogin.Login.Height: 200
+xlogin.Login.Width: 200
+! xlogin.Login.x: 92
+xlogin.Login.y: 900
+
+! 'Login:' and 'Password:'
+*Foreground: #aaaaaa
+*Background: black
+
+
+
+xclock*borderWidth: 0
diff --git a/abs/xenodm/Xsetup_0 b/abs/xenodm/Xsetup_0
@@ -0,0 +1,23 @@
+#!/bin/sh
+# $OpenBSD: Xsetup_0.in,v 1.1 2021/08/30 15:38:27 matthieu Exp $
+
+prefix="/usr/X11R6"
+exec_prefix="${prefix}"
+
+${exec_prefix}/bin/xsetroot -solid \#000000
+
+${exec_prefix}/bin/xclock -d -render -update 10 -face "Spleen-20" -geometry "+660+380" -strftime "%A %d %B %Y" &
+${exec_prefix}/bin/xclock -d -render -update 10 -face "Spleen-48" -geometry "+760+460" -strftime "%H:%M" &
+
+
+# ${exec_prefix}/bin/xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
+
+# install package openbsd-backgrounds
+# then uncomment:
+#
+# if test -x /usr/local/bin/openbsd-wallpaper
+# then
+# /usr/local/bin/openbsd-wallpaper
+# fi
+
+# sxpm OpenBSD.xpm &