This commit is contained in:
Santiago Lo Coco 2023-12-26 19:16:58 -03:00
parent 5c1cf3318b
commit 952e2adb3f
1 changed files with 8 additions and 3 deletions

View File

@ -236,9 +236,10 @@ static Key keys[] = {
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +1; sigdwmblocks 2") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +1; sigdwmblocks 2") },
{ 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") }, { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") },
{ 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/playerctl play-pause") }, { 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/player play-pause") },
{ 0, XF86XK_AudioNext, spawn, SHCMD("$HOME/.local/bin/playerctl next") }, { 0, XF86XK_AudioNext, spawn, SHCMD("$HOME/.local/bin/player next") },
{ 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/playerctl previous") }, { 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/player previous") },
{ 0, XF86XK_AudioStop, spawn, SHCMD("$HOME/.local/bin/player --all-players stop") },
#ifdef LAPTOP #ifdef LAPTOP
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
@ -252,6 +253,10 @@ static Key keys[] = {
#endif #endif
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") }, { MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") },
{ MODKEY, XK_v, spawn, SHCMD("clipmenu") }, { MODKEY, XK_v, spawn, SHCMD("clipmenu") },
//{ MODKEY|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copyNoNewline") },
{ MODKEY|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copy") },
{ MODKEY|ShiftMask|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copyRaw") },
{ MODKEY, XK_w, spawn, SHCMD("$HOME/.local/bin/paste") },
}; };
/* button definitions */ /* button definitions */