config

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

commit ba060201e833c802b20f578a8a6a694b488f1eb7
parent 94ee0936a403174b07e119b11346fefc8f2f61f2
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Thu,  2 Sep 2021 23:51:42 -0700

Add a way to reload dwm's environment

Now when dwm exits (successfully) you are prompted to exit and if
you do not rc reloads it's profile and starts dwm again.

Diffstat:
Mlocal/xenodm/config/xsession | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/local/xenodm/config/xsession b/local/xenodm/config/xsession @@ -10,4 +10,5 @@ xbanish & xmodmap $XDG_CONFIG_HOME/xmodmap & xrdb -load $XDG_CONFIG_HOME/Xresources & xset dpms 360 600 960 r rate 250 30 s 0 b 0 0 0 m 3 1 & -exec dwm +while (dwm && ! ~ `{ dmenu -p 'exit?' </dev/null } y*) + test -f $home/lib/profile && . $home/lib/profile