From 5b8cfb233a4d63cd0c35b7b4a0873da97e25ecce Mon Sep 17 00:00:00 2001 From: c Date: Tue, 5 Dec 2023 15:20:27 -0500 Subject: More patches. --- config.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'config.h') 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" -- cgit v1.2.3