diff options
-rw-r--r-- | config.def.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h index 53c0b99..ed945dc 100644 --- a/config.def.h +++ b/config.def.h @@ -67,17 +67,15 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_base01, "-nf", col_base04, "-sb", col_base0D, "-sf", col_base00, NULL }; static const char *termcmd[] = { "alacritty", NULL }; -//static const char *lower_volume_cmd[] = { "amixer set Master 5%-; kill -RTMIN+1 $(pidof -x sbar)", NULL }; -static const char *lower_volume_cmd[] = { "amixer", "set", "Master", "5%-;", "kill", "-RTMIN+1", "$(pidof", "-x", "sbar)", NULL }; -//static const char *mutecmd[] = { "amixer set Master toggle; kill -RTMIN+1 $(pidof -x sbar)", NULL }; +static const char *lower_volume_cmd[] = { "/bin/sh", "-c", "amixer set Master 5%-; kill -RTMIN+1 $(pidof -x sbar)", NULL }; static const char *mutecmd[] = { "/bin/sh", "-c", "amixer set Master toggle; kill -RTMIN+1 $(pidof -x sbar)", NULL }; static const char *nextcmd[] = { "playerctl", "next", NULL }; static const char *playcmd[] = { "playerctl", "play-pause", NULL }; static const char *prevcmd[] = { "playerctl", "previous", NULL }; -static const char *raise_volume_cmd[] = { "amixer set Master 5%+; kill -RTMIN+1 $(pidof -x sbar)", NULL }; +static const char *raise_volume_cmd[] = { "/bin/sh", "-c", "amixer set Master 5%+; kill -RTMIN+1 $(pidof -x sbar)", NULL }; static const char *bright_up_cmd[] = { "backlight", "-u", NULL }; static const char *bright_down_cmd[] = { "backlight", "-d", NULL }; -static const char *toggle_audio_capture_cmd[] = { "amixer set Capture toggle; kill -RTMIN $(pidof -x sbar)", NULL }; +static const char *toggle_audio_capture_cmd[] = { "/bin/sh", "-c", "amixer set Capture toggle; kill -RTMIN $(pidof -x sbar)", NULL }; static const Key keys[] = { /* modifier key function argument */ |