dwm

suckless's window manager with Luke's setup
Log | Files | Refs | README | LICENSE

commit 6cb092d8f2278697982935d6883c8c45f4aa8dbe
parent a28d4c3bb43bc7c7a927c2fa1e2c0a1571351abc
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu,  9 Apr 2020 16:53:54 -0400

start `startup` script if it exists

Diffstat:
Mdwm.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dwm.c b/dwm.c @@ -1522,7 +1522,8 @@ run(void) void runAutostart(void) { - system("export STATUSBAR=\"dwmblocks\" ; killall dwmblocks ; dwmblocks &"); + system("type startup >/dev/null 2>&1 && startup &"); + system("killall dwmblocks ; dwmblocks &"); } void