From a2b71bdbefe0647ab3b9382f919d2e1e330f3c9c Mon Sep 17 00:00:00 2001 From: James Gillman Date: Fri, 22 Sep 2023 14:55:08 -0600 Subject: [PATCH] more qol stuff --- Xsetup_0 | 16 ++++++++++++++++ install.sh | 6 +++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100755 Xsetup_0 diff --git a/Xsetup_0 b/Xsetup_0 new file mode 100755 index 0000000..fe0ede1 --- /dev/null +++ b/Xsetup_0 @@ -0,0 +1,16 @@ +#!/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 -fg \#6f6f6f -bg \#bfbfbf -bitmap ${prefix}/include/X11/bitmaps/root_weave + +xsetroot -bg \#222229 -fg \#115522 -mod 16 16 + +#${exec_prefix}/bin/xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail + +# install package openbsd-backgrounds +# then uncomment: +# +# sxpm OpenBSD.xpm & diff --git a/install.sh b/install.sh index 17c52aa..f3e6c11 100755 --- a/install.sh +++ b/install.sh @@ -37,10 +37,14 @@ echo "[*] Configure doas(1)" touch /etc/doas.conf echo "permit persist keepenv $user as root" > /etc/doas.conf -echo "[*] Configure Memory Limits for Programs +echo "[*] Configure Memory Limits for Programs" usermod -G staff $user cp -f ./login.conf /etc/login.conf +echo [*] Configure xenodm +cp -f ./Xsetup_0 /etc/X11/xenodm/Xsetup_0 + + echo "[*] Run Syspatch" syspatch