Improve keys binding ⌨️
This commit is contained in:
parent
165a60c0fe
commit
04e710e8ae
1 changed files with 4 additions and 4 deletions
8
config.h
8
config.h
|
@ -158,8 +158,8 @@ static Key keys[] = {
|
||||||
TAGKEYS( XK_7, 6)
|
TAGKEYS( XK_7, 6)
|
||||||
TAGKEYS( XK_8, 7)
|
TAGKEYS( XK_8, 7)
|
||||||
TAGKEYS( XK_9, 8)
|
TAGKEYS( XK_9, 8)
|
||||||
// Kill dwm
|
// Kill dwm (super + shift + alt + q)
|
||||||
{ MODKEY|ShiftMask, XK_c, quit, {0} },
|
{ MODKEY|ShiftMask|Mod1Mask, XK_c, quit, {0} },
|
||||||
/* ---------------------------------- Control Keys ---------------------------------- */
|
/* ---------------------------------- Control Keys ---------------------------------- */
|
||||||
// Brightness controllers (requires xbacklight)
|
// Brightness controllers (requires xbacklight)
|
||||||
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
||||||
|
@ -180,8 +180,8 @@ static Key keys[] = {
|
||||||
/* ---------------------------------- lock Keys ---------------------------------- */
|
/* ---------------------------------- lock Keys ---------------------------------- */
|
||||||
// Lock the screen
|
// Lock the screen
|
||||||
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("betterlockscreen -l dim") },
|
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("betterlockscreen -l dim") },
|
||||||
// Plasma screen lock (super + alt + shift + x)
|
// Plasma screen lock (super + ctrl + shift + x)
|
||||||
{ MODKEY|Mod1Mask|ShiftMask, XK_x, spawn, SHCMD("qdbus-qt5 org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1") }
|
{ MODKEY|ShiftMask|ControlMask, XK_x, spawn, SHCMD("qdbus-qt5 org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1") }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
|
|
Loading…
Reference in a new issue