aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index fc2c7a4..53c0b99 100644
--- a/config.def.h
+++ b/config.def.h
@@ -67,14 +67,16 @@ 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 *mutecmd[] = { "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 *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 *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 *bright_up_cmd[] = { "backlight -u", NULL };
-static const char *bright_down_cmd[] = { "backlight -d", 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 Key keys[] = {