From 2417190fa224dec06daaec7f9b132a5e89b74e23 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Sun, 7 Jul 2024 10:55:30 -0500 Subject: Netbsd setup --- xdm/Xresources | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 xdm/Xresources (limited to 'xdm/Xresources') 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 \ + 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*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 -- cgit v1.2.3