From 0a20357d4585da91d92252972f3eb7b715ff64ab Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Mon, 1 Jul 2024 21:26:30 -0500 Subject: initial commit --- xenodm/Xresources | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ xenodm/Xsetup_0 | 19 +++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 xenodm/Xresources create mode 100755 xenodm/Xsetup_0 (limited to 'xenodm') diff --git a/xenodm/Xresources b/xenodm/Xresources new file mode 100644 index 0000000..acec2cc --- /dev/null +++ b/xenodm/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: IosevkaAile-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: IosevkaAile-18:bold:italic:dpi=75 +xlogin*face: IosevkaAile-12:dpi=75 +xlogin*promptFace: IosevkaAile-12:bold:dpi=75 +xlogin*failFace: IosevkaAile-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/xenodm/Xsetup_0 b/xenodm/Xsetup_0 new file mode 100755 index 0000000..ca12044 --- /dev/null +++ b/xenodm/Xsetup_0 @@ -0,0 +1,19 @@ +#!/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 \#FFFFFF + +/usr/X11R6/bin/xset fp+ /usr/local/share/fonts/iosevka + +# install package openbsd-backgrounds +# then uncomment: +# +# if test -x /usr/local/bin/openbsd-wallpaper +# then +# /usr/local/bin/openbsd-wallpaper +# fi + +# sxpm OpenBSD.xpm & -- cgit v1.2.3