Brightness Control Script + Keybinding
- Add keybinding for brightness control script
This commit is contained in:
@@ -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} },
|
||||
|
@@ -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} },
|
||||
|
Reference in New Issue
Block a user