commit 86b81acbc58076a8e104c0a157772dcb0e77be4f parent db1bfdb4206db0e110d34b204ae76a0ba2e580ec Author: Jacob R. Edwards <jacobouno@protonmail.com> Date: Fri, 12 Feb 2021 14:09:14 -0800 Polish ~/.profile and ~/.xinitrc Disable core dumps in profile instead of xinitrc since I still want them disabled when not in an X session. Other than that nothing really changed. Diffstat:
| M | modules/profile/.profile | | | 3 | +++ |
| M | modules/xorg/.xinitrc | | | 20 | ++++++++------------ |
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/modules/profile/.profile b/modules/profile/.profile @@ -36,3 +36,6 @@ export MAKEFLAGS="CC=${CC}" # cache frequently used files cat `which $BROWSER $EDITOR $PAGER $SHELL $TERMINAL $CC tmux git` >/dev/null + +# disallow core dumps +ulimit -Sc 0 diff --git a/modules/xorg/.xinitrc b/modules/xorg/.xinitrc @@ -1,15 +1,11 @@ -[ -f ~/.profile ] && . ~/.profile -parellel() { $@ & } +bg() { $* & } -# disable core dumps. -ulimit -Sc 0 +test -f ~/.profile && . ~/.profile -set -u - -parellel slstatus -parellel xbanish -parellel xmodmap "$XDG_CONFIG_HOME/xmodmaprc" -parellel xrdb -load "$HOME/.Xresources" -parellel xset dpms 360 600 960 r rate 250 30 s 0 b 0 0 0 -parellel bgs -R "$XDG_CONFIG_HOME/wallpaper" +bg slstatus +bg xbanish +bg xmodmap "$XDG_CONFIG_HOME/xmodmaprc" +bg xrdb -load "$HOME/.Xresources" +bg xset dpms 360 600 960 r rate 250 30 s 0 b 0 0 0 +bg bgs -R "$XDG_CONFIG_HOME/wallpaper" dwm 1>&2 2>$HOME/.local/var/log/dwm