From 9053e1033e69f71389cc24196c6c588f8c35a683 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Mon, 1 Jul 2024 21:27:23 -0500 Subject: vimrc --- xdm/Xresources | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ xdm/Xsetup_0 | 5 ++++ 2 files changed, 87 insertions(+) create mode 100644 xdm/Xresources create mode 100755 xdm/Xsetup_0 (limited to 'xdm') 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 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 -- cgit v1.2.3