Update keybindings

This commit is contained in:
Santiago Lo Coco 2024-07-11 11:50:44 +02:00
parent f1597a94b2
commit 188593cf0b
Signed by: slococo-work
GPG Key ID: 0C378516959799F5
1 changed files with 12 additions and 3 deletions

View File

@ -253,6 +253,12 @@ static Key keys[] = {
{ 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/player previous") }, { 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/player previous") },
{ 0, XF86XK_AudioStop, spawn, SHCMD("$HOME/.local/bin/player --all-players stop") }, { 0, XF86XK_AudioStop, spawn, SHCMD("$HOME/.local/bin/player --all-players stop") },
#endif #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 #ifdef LAPTOP
#ifndef THINKPAD #ifndef THINKPAD
@ -270,9 +276,12 @@ static Key keys[] = {
{ 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") }, { 0, XF86XK_AudioStop, spawn, SHCMD("dunstctl set-paused toggle; sigdwmblocks 6") },
{ 0, XK_Print, spawn, SHCMD("$HOME/.local/bin/screenshot") }, { 0, XK_Print, spawn, SHCMD("$HOME/.local/bin/screenshot") },
#ifdef THINKPAD #ifdef THINKPAD
//{ 0, XF86XK_Messenger, spawn, SHCMD("slock") }, { 0, XF86XK_Messenger, spawn, SHCMD("systemctl suspend") },
//{ 0, XF86XK_Messenger, spawn, SHCMD("xset s activate") }, { MODKEY, XF86XK_Messenger, spawn, SHCMD("xset s activate") },
{ 0, XF86XK_Messenger, spawn, SHCMD("systemctl suspend") }, { 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 #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") },