aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/config.h b/config.h
index a0d3703..3ca4e38 100644
--- a/config.h
+++ b/config.h
@@ -79,15 +79,18 @@ static const Rule rules[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* Commands. */
+
+#define SCRIPTS "/home/c/.local/bin/"
+
static char dmenumon[2] = "0"; /* Component of dmenucmd, manipulated in spawn(). */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL };
-static const char *termcmd[] = { "$SCRIPTS/launchers/term.sh", NULL };
-static const char *webcmd[] = { "$SCRIPTS/launchers/web.sh", NULL };
-static const char *passcmd[] = { "/sbin/passmenu", NULL };
-static const char *bmkscmd[] = { "$SCRIPTS/bmks", NULL };
-static const char *bmkaddcmd[]= { "$SCRIPTS/bmks", "dadd", NULL };
+static const char *termcmd[] = { SCRIPTS "launchers/term.sh", NULL };
+static const char *webcmd[] = { SCRIPTS "launchers/web.sh", NULL };
+static const char *passcmd[] = { SCRIPTS "/sbin/passmenu", NULL };
+static const char *bmkscmd[] = { SCRIPTS "bmks", NULL };
+static const char *bmkaddcmd[]= { SCRIPTS "bmks", "dadd", NULL };
-static const char *papercmd[] = { "$SCRIPTS/wallpaper.sh", NULL };
+static const char *papercmd[] = { SCRIPTS "wallpaper.sh", NULL };
#include "movestack.c"