Change modkey and update bindings
This commit is contained in:
parent
75889d83f7
commit
e68154fa33
16
config.def.h
16
config.def.h
|
@ -129,10 +129,15 @@ static const Layout layouts[] = {
|
|||
|
||||
/* key definitions */
|
||||
#ifdef LAPTOP
|
||||
//#ifndef THINKPAD
|
||||
#define MODKEY Mod4Mask
|
||||
//#else
|
||||
//#define MODKEY Mod1Mask
|
||||
//#endif
|
||||
#else
|
||||
#define MODKEY Mod1Mask
|
||||
#endif
|
||||
|
||||
#define TAGKEYS(KEY,TAG) \
|
||||
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
|
||||
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
|
||||
|
@ -249,7 +254,8 @@ static Key keys[] = {
|
|||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("$HOME/.local/bin/volume sink -0.01; sigdwmblocks 2") },
|
||||
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("$HOME/.local/bin/volume sink +0.01; sigdwmblocks 2") },
|
||||
{ 0, XF86XK_AudioMute, spawn, SHCMD("$HOME/.local/bin/volume sink mute; sigdwmblocks 2") },
|
||||
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("$HOME/.local/bin/volume source mute; sigdwmblocks 2") },
|
||||
//{ 0, XF86XK_AudioMicMute, spawn, SHCMD("$HOME/.local/bin/volume source mute; sigdwmblocks 2") },
|
||||
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("$HOME/.local/bin/mic-mute") },
|
||||
#endif
|
||||
#ifndef THINKPAD
|
||||
{ 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/player play-pause") },
|
||||
|
@ -280,8 +286,10 @@ 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("systemctl suspend") },
|
||||
{ MODKEY, XF86XK_Messenger, spawn, SHCMD("xset s activate") },
|
||||
{ 0, XF86XK_Messenger, spawn, SHCMD("xset s activate") },
|
||||
{ MODKEY, 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") },
|
||||
|
@ -292,7 +300,7 @@ static Key keys[] = {
|
|||
//{ 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") },
|
||||
{ MODKEY|ControlMask, XK_v, spawn, SHCMD("$HOME/.local/bin/paste") },
|
||||
};
|
||||
|
||||
/* button definitions */
|
||||
|
|
Loading…
Reference in New Issue