diff options
-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 03ea88f..c30fdcf 100644 --- a/config.def.h +++ b/config.def.h @@ -85,7 +85,7 @@ static const char *scrnshot[] = { "scst", NULL }; static const char *scrnshotsel[] = { "scst", "s", NULL }; static const char *nnnfm[] = { "st", "nnn", "-decC", NULL }; static const char *bluctl[] = { "bluctl", NULL }; -static const char *damb[] = { "damb", NULL }; +static const char *damb[] = { "damb", NULL }; static const char *web[] = { "tabbed", "-c", "surf", "-e", NULL }; static const char *webalt[] = { "librewolf", NULL }; static const char *ncmpcpp[] = { "st", "ncmpcpp-ueberzug", NULL }; @@ -94,6 +94,8 @@ static const char *ytsub[] = { "st", "ytfzf", "-tl", "--subs=4", NULL }; static const char *sticker[] = { "stikman", NULL }; /* audio control */ +static const char *upbri[] = { "brictl", "-i", "1", NULL }; +static const char *downbri[] = { "brictl", "-d", "1", NULL }; static const char *upvol[] = { "pamixer", "-i", "5", NULL }; static const char *downvol[] = { "pamixer", "-d", "5", NULL }; static const char *mutevol[] = { "pamixer", "-t", NULL }; @@ -132,6 +134,8 @@ static const Key keys[] = { { MODKEY, XK_minus, setgaps, {.i = -1 } }, { MODKEY, XK_equal, setgaps, {.i = +1 } }, { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, + { 0, XK_XF86MonBrightnessUp, spawn, {.v = upbri } }, + { 0, XK_XF86MonBrightnessDown, spawn, {.v = downbri } }, { 0, XK_XF86AudioRaiseVolume, spawn, {.v = upvol } }, { 0, XK_XF86AudioLowerVolume, spawn, {.v = downvol } }, { 0, XK_XF86AudioMute, spawn, {.v = mutevol } }, |