diff options
| author | P.P.A <adolphs@moselle.moe> | 2023-07-24 20:04:12 +0200 |
|---|---|---|
| committer | P.P.A <adolphs@moselle.moe> | 2023-07-24 20:04:12 +0200 |
| commit | 6d9914823502740022bb0a9b9d6bb67caa47415e (patch) | |
| tree | 2747ac2a1d364c7bdc0d5445b63bd8675596cc5b /config.def.h | |
| parent | 7fdcf60ed81f0773269ad9704781219b045cbc85 (diff) | |
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 6 |
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 } }, }; |
