commit 1509ce02144b1012af1a86b1b67e219a32692c08
parent 95d6556c5dda4d8a777d924dfd6d354ae2a4ab8c
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Wed, 17 Feb 2021 20:19:36 -0800
Use sh(1) exec to execute dwm in ~/.xinitrc
There is no use in keeping sh(1) around for nothing, also, for
future safety, use "$@" in the bg function.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/xorg/.xinitrc b/modules/xorg/.xinitrc
@@ -1,6 +1,6 @@
# xinit rc file
-bg() { $* & }
+bg() { "$@" & }
test -f ~/.profile && . ~/.profile
@@ -10,4 +10,4 @@ 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
-dwm 1>&2 2>$HOME/.local/var/log/dwm
+exec dwm 1>&2 2>$HOME/.local/var/log/dwm