diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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" |