summaryrefslogtreecommitdiff
path: root/xdm
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-07-07 10:55:30 -0500
committerMarc Coquand <marc@mccd.space>2024-07-07 10:55:30 -0500
commit2417190fa224dec06daaec7f9b132a5e89b74e23 (patch)
treefe963d9714b5aef2ba8f122dff8819a069fc3c2c /xdm
parent6b4c0820f976fc3a265f6e9e413a6f65f4aa2152 (diff)
downloadopenbsd-2417190fa224dec06daaec7f9b132a5e89b74e23.tar.gz
openbsd-2417190fa224dec06daaec7f9b132a5e89b74e23.tar.bz2
openbsd-2417190fa224dec06daaec7f9b132a5e89b74e23.zip
Netbsd setupnetbsd
Diffstat (limited to 'xdm')
-rw-r--r--xdm/Xresources82
-rwxr-xr-xxdm/Xsetup_05
2 files changed, 87 insertions, 0 deletions
diff --git a/xdm/Xresources b/xdm/Xresources
new file mode 100644
index 0000000..aa8ffc8
--- /dev/null
+++ b/xdm/Xresources
@@ -0,0 +1,82 @@
+! $OpenBSD: Xresources.in,v 1.4 2022/11/07 17:12:06 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:
+xlogin*namePrompt: Login:
+xlogin*fail: Login incorrect
+
+#if WIDTH > 800
+xlogin*greetFace: Iosevka Aile-22:bold:italic:dpi=75
+xlogin*face: IosevkaAile-16:dpi=75
+xlogin*promptFace: IosevkaAile-16:bold:dpi=75
+xlogin*failFace: IosevkaAile-16:bold:dpi=75
+#else
+xlogin*greetFace: Iosevka Aile-18:bold:italic:dpi=75
+xlogin*face: Iosevka Aile-12:dpi=75
+xlogin*promptFace: Iosevka Aile-12:bold:dpi=75
+xlogin*failFace: Iosevka Aile-12:bold:dpi=75
+#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: 2
+xlogin.Login.height: 200
+xlogin.Login.width: 400
+xlogin.Login.y: 600
+xlogin.Login.frameWidth: 10
+xlogin.Login.innerFramesWidth: 0
+xlogin*innerFramesWidth: 20
+Xcursor.theme: Adwaita
+Xcursor.size: 34
+
+xlogin.Login.sepWidth: 0
+
+xlogin.Login.background: #FFFFFF
+xlogin.Login.foreground: #000000
+xlogin.Login.failColor: #b00035
+xlogin.Login.inpColor: #FFFFFF
+xlogin.Login.promptColor: #000000
+xlogin.Login.hiColor: #FFFFFF
+xlogin.Login.shdColor: #FFFFFF
diff --git a/xdm/Xsetup_0 b/xdm/Xsetup_0
new file mode 100755
index 0000000..4b317dc
--- /dev/null
+++ b/xdm/Xsetup_0
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/usr/X11R7/bin/xsetroot -solid \#FFFFFF
+/usr/X11R7/bin/setxkbmap -layout us -variant colemak
+/usr/X11R7/bin/xset fp+ /usr/local/share/fonts