summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 5eabd1a..d6ef442 100644
--- a/config.def.h
+++ b/config.def.h
@@ -12,7 +12,7 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display
static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "monospace:size=10" };
+static const char *fonts[] = { "FontAwesome:size=10","monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
static char normbgcolor[] = "#222222";
static char normbordercolor[] = "#444444";
@@ -79,6 +79,7 @@ static const char *brdowncmd[] = { "xbacklight", "-dec", "5", NULL };
static const char *mutecmd[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
static const char *volupcmd[] = { "amixer", "-q", "set", "Master", "5%+", "unmute", NULL };
static const char *voldowncmd[] = { "amixer", "-q", "set", "Master", "5%-", "unmute", NULL };
+static const char *dwmblocks[] = { "pkill", "-RTMIN+2", "dwmblocks", NULL };
static const char *miccmd[] = { "amixer", "set", "Capture", "toggle", NULL };
static const Key keys[] = {
@@ -128,8 +129,11 @@ static const Key keys[] = {
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = brupcmd} },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = brdowncmd } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutecmd } },
+ { 0, XF86XK_AudioMute, spawn, {.v = dwmblocks } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldowncmd } },
+ { 0, XF86XK_AudioLowerVolume, spawn, {.v = dwmblocks } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volupcmd } },
+ { 0, XF86XK_AudioRaiseVolume, spawn, {.v = dwmblocks } },
{ 0, XF86XK_AudioMicMute, spawn, {.v = miccmd } },
};