use shell for clicking

This commit is contained in:
speedie 2022-12-14 18:54:39 +01:00
parent 729c5a2beb
commit 236041f001

View file

@ -907,11 +907,6 @@ static xcb_connection_t *xcon;
#define SUPER Mod4Mask
#define SUPERR Mod5Mask
/* Shell command */
#define cmd( cmd ) {.v = (const char*[]){ shell, "-c", cmd, NULL } },
static const char *clickstatus[] = { "/bin/sh", "-c", NULL, NULL }; /* for running click scripts */
/* Media controls */
#if USEMEDIA
#include <X11/XF86keysym.h> /* Enable multimedia button support */
@ -920,6 +915,11 @@ static const char *clickstatus[] = { "/bin/sh", "-c", NULL, NULL }; /* for runni
/* Configuration */
#include "options.h" /* Include options */
/* Shell command */
#define cmd( cmd ) {.v = (const char*[]){ shell, "-c", cmd, NULL } },
static const char *clickstatus[] = { shell, "-c", NULL, NULL }; /* for running click scripts */
/* Rest of the headers */
#include "autostart.h" /* Add autostart support */
#include "colors.h" /* Include colors */