config

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

commit 489d9ce17f8aefc7afc5175359fdf6756c33939a
parent d413e8307b8dd8c77607ee4aa385b273114124cc
Author: Jacob R. Edwards <n/a>
Date:   Tue, 15 Mar 2022 11:44:16 -0700

Use sh for xsession script

Diffstat:
Mlocal/xenodm/config/xsession | 19++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/local/xenodm/config/xsession b/local/xenodm/config/xsession @@ -1,17 +1,18 @@ -#!/usr/local/plan9/bin/rc -l +#!/bin/sh # Initialize X -if (~ $#XDG_CONFIG_HOME 0) - XDG_CONFIG_HOME = $home/.config +: ${XDG_CONFIG_HOME:-"$HOME"/.config} -BROWSER = glinks -TERMINAL = xterm +BROWSER=glinks +export BRWOSER +TERMINAL=xterm +export TERMINAL setbg & xbanish & -xmodmap $XDG_CONFIG_HOME/xmodmap & -xrdb -load $XDG_CONFIG_HOME/xresources & +xmodmap "$XDG_CONFIG_HOME"/xmodmap & +xrdb -load "$XDG_CONFIG_HOME"/xresources & slstatus & xset dpms 0 480 0 r rate 250 30 s 0 b 0 0 0 m 3 1 & -while (dwm && ! ~ `{ dmenu -p 'reload?' < /dev/null } [Yy]*) - test -f $home/lib/profile && . $home/lib/profile + +exec dwm