diff --git a/README.org b/README.org index 5196fd5..deacf15 100644 --- a/README.org +++ b/README.org @@ -4385,6 +4385,7 @@ static const char *dmenucmd[] = { static const char *termcmd[] = { "kitty", NULL }; static const char *roficmd[] = { "rofi", "-show", "combi", NULL }; static const char *controlcentercmd[] = { "/home/sravan/.scripts/control-center.sh", "--rofi", NULL }; +static const char *brightnesscmd[] = { "/home/sravan/.scripts/brightness.sh", "--rofi", NULL }; static const char *clipboardcmd[] = { "rofi", "-show", "clipboard", NULL }; static const char *rbwcmd[] = { "rofi-rbw", NULL }; static const char *volumecmd[] = { "/home/sravan/.scripts/pactl.sh", "--rofi", NULL }; @@ -4445,6 +4446,7 @@ static Key keys[] = { { MODKEY|ControlMask, XK_p, spawn, {.v = controlcentercmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ControlMask, XK_c, spawn, {.v = clipboardcmd} }, + { MODKEY|ControlMask, XK_d, spawn, {.v = brightnesscmd} }, { MODKEY|ControlMask, XK_b, spawn, {.v = rbwcmd} }, { MODKEY|ControlMask, XK_v, spawn, {.v = volumecmd} }, { MODKEY|ControlMask, XK_m, spawn, {.v = mediacmd} }, diff --git a/config.def.h b/config.def.h index 9494573..7fe2d47 100644 --- a/config.def.h +++ b/config.def.h @@ -785,6 +785,7 @@ static const char *dmenucmd[] = { static const char *termcmd[] = { "kitty", NULL }; static const char *roficmd[] = { "rofi", "-show", "combi", NULL }; static const char *controlcentercmd[] = { "/home/sravan/.scripts/control-center.sh", "--rofi", NULL }; +static const char *brightnesscmd[] = { "/home/sravan/.scripts/brightness.sh", "--rofi", NULL }; static const char *clipboardcmd[] = { "rofi", "-show", "clipboard", NULL }; static const char *rbwcmd[] = { "rofi-rbw", NULL }; static const char *volumecmd[] = { "/home/sravan/.scripts/pactl.sh", "--rofi", NULL }; @@ -837,6 +838,7 @@ static Key keys[] = { { MODKEY|ControlMask, XK_p, spawn, {.v = controlcentercmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ControlMask, XK_c, spawn, {.v = clipboardcmd} }, + { MODKEY|ControlMask, XK_d, spawn, {.v = brightnesscmd} }, { MODKEY|ControlMask, XK_b, spawn, {.v = rbwcmd} }, { MODKEY|ControlMask, XK_v, spawn, {.v = volumecmd} }, { MODKEY|ControlMask, XK_m, spawn, {.v = mediacmd} },