config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit c552b03e67555ee09c9e83d589093188dc99de23
parent 18c2d1a4c831a1d7b25701605b23e12fe4c2b18d
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon, 14 Sep 2020 21:18:02 -0700

Sort by importance, handle errors, and optomize.

call xset only once.

use xdg config with lesskey.

programs which should be run or running quicker put at the beginning.

warn if XDG_CONFIG_HOME is not set.

Diffstat:
Mxorg/.xinitrc | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/xorg/.xinitrc b/xorg/.xinitrc @@ -3,14 +3,15 @@ # disable core dumps. ulimit -Sc 0 -/usr/X11R6/bin/setxkbmap -option ctrl:nocaps -/usr/X11R6/bin/xset dpms 320 & -/usr/X11R6/bin/xset r rate 250 30 & +/usr/local/bin/xwallpaper --zoom "${XDG_CONFIG_HOME:?unset}/wallpaper" & /usr/X11R6/bin/xrdb -load ~/.Xresources & -/usr/bin/lesskey ~/.config/lesskey & -/usr/local/bin/xwallpaper --zoom "$XDG_CONFIG_HOME/wallpaper" & -/usr/local/bin/dunst & -/usr/local/bin/xbanish & -/usr/local/bin/slstatus & + /usr/local/bin/sxhkd & +/usr/local/bin/slstatus & +/usr/X11R6/bin/xset dpms 320 r rate 250 30 & +/usr/X11R6/bin/setxkbmap -option ctrl:nocaps & + +/usr/local/bin/xbanish & +/usr/local/bin/dunst & +/usr/bin/lesskey ${XDG_CONFIG_HOME:?unset}/lesskey & /usr/bin/dwm