Update keybindings
This commit is contained in:
parent
f1597a94b2
commit
188593cf0b
15
config.def.h
15
config.def.h
|
@ -253,6 +253,12 @@ static Key keys[] = {
|
|||
{ 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/player previous") },
|
||||
{ 0, XF86XK_AudioStop, spawn, SHCMD("$HOME/.local/bin/player --all-players stop") },
|
||||
#endif
|
||||
#ifdef THINKPAD
|
||||
//{ 0, XK_Cancel, spawn, SHCMD("$HOME/.local/bin/player play-pause") },
|
||||
{ 0, XF86XK_Go, spawn, SHCMD("$HOME/.local/bin/player play-pause") },
|
||||
{ MODKEY, XF86XK_Go, spawn, SHCMD("$HOME/.local/bin/player next") },
|
||||
{ MODKEY|ShiftMask, XF86XK_Go, spawn, SHCMD("$HOME/.local/bin/player previous") },
|
||||
#endif
|
||||
|
||||
#ifdef LAPTOP
|
||||
#ifndef THINKPAD
|
||||
|
@ -270,9 +276,12 @@ static Key keys[] = {
|
|||
{ 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") },
|
||||
{ 0, XK_Print, spawn, SHCMD("$HOME/.local/bin/screenshot") },
|
||||
#ifdef THINKPAD
|
||||
//{ 0, XF86XK_Messenger, spawn, SHCMD("slock") },
|
||||
//{ 0, XF86XK_Messenger, spawn, SHCMD("xset s activate") },
|
||||
{ 0, XF86XK_Messenger, spawn, SHCMD("systemctl suspend") },
|
||||
{ 0, XF86XK_Messenger, spawn, SHCMD("systemctl suspend") },
|
||||
{ MODKEY, XF86XK_Messenger, spawn, SHCMD("xset s activate") },
|
||||
{ 0, XF86XK_Display, spawn, SHCMD("$HOME/.local/bin/multi-monitor") },
|
||||
{ MODKEY, XF86XK_Display, spawn, SHCMD("$HOME/.local/bin/fix-monitor") },
|
||||
{ 0, XF86XK_Favorites, spawn, SHCMD("$HOME/.local/bin/autolock") },
|
||||
{ MODKEY, XF86XK_Favorites, spawn, SHCMD("$HOME/.local/bin/disable-autolock") },
|
||||
#endif
|
||||
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("noisetorch; $TERMINAL -e \"alsamixer\"") },
|
||||
{ MODKEY, XK_v, spawn, SHCMD("clipmenu") },
|
||||
|
|
Loading…
Reference in New Issue