diff options
author | c | 2023-12-05 15:20:27 -0500 |
---|---|---|
committer | c | 2023-12-05 15:20:27 -0500 |
commit | 5b8cfb233a4d63cd0c35b7b4a0873da97e25ecce (patch) | |
tree | eeae096033e15be132f7d9bb3fcc377508245b9e /config.h | |
parent | c90b1d85d9cd5c181d15392158956f30fc6d5068 (diff) |
More patches.
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" |