commit af2fbfdd34239fc9a3b726e298c7fac8cf0fe4ec
parent 304975c11d82e1a3fbe3a070c8256c9628397f3e
Author: Matthew Carlson <matt@mcarlson.xyz>
Date: Mon, 23 Aug 2021 22:58:35 -0400
added bar to autostart; make dwmc executable on build
Diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -25,7 +25,7 @@ dwm: ${OBJ}
install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f dwm dwmc ${DESTDIR}${PREFIX}/bin
- chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
+ chmod 755 ${DESTDIR}${PREFIX}/bin/dwm ${DESTDIR}${PREFIX}/bin/dwmc
rm -f dwm *.o
uninstall:
diff --git a/config.h b/config.h
@@ -51,9 +51,11 @@ static const unsigned int alphas[][3] = {
[SchemeSel] = { OPAQUE, baralpha, borderalpha },
};
+// autostart
static const char *const autostart[] = {
- "st", NULL,
- NULL /* terminate */
+ // start status bar
+ "sh", "-c", "${BAR}", NULL,
+ NULL
};
// tags