Add backlight shortcuts

This commit is contained in:
Santiago Lo Coco 2022-02-07 21:53:46 -03:00
parent 0e4e016e43
commit 08fc615bbb
1 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,8 @@ static Key keys[] = {
{ 0, XF86XK_HomePage, spawn, SHCMD("pcmanfm") }, { 0, XF86XK_HomePage, spawn, SHCMD("pcmanfm") },
{ 0, XF86XK_Tools, spawn, SHCMD("pkill imwheel && imwheel -b 45") }, { 0, XF86XK_Tools, spawn, SHCMD("pkill imwheel && imwheel -b 45") },
{ 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") }, { 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
//{ 0, XF86XK_Mail, spawn, SHCMD("noisetorch") }, //{ 0, XF86XK_Mail, spawn, SHCMD("noisetorch") },
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") }, { MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") },
//{ 0, XF86XK_Favorites, spawn, SHCMD("maim -s | xclip -selection clipboard -t image/png") }, //{ 0, XF86XK_Favorites, spawn, SHCMD("maim -s | xclip -selection clipboard -t image/png") },