Add kde locker shortcut

This commit is contained in:
Anas Elgarhy 2022-04-25 14:19:00 +02:00
parent 2c1ee1cb64
commit 31672c592c

View file

@ -162,6 +162,8 @@ static Key keys[] = {
/* ---------------------------------- lock Keys ---------------------------------- */
// Lock the screen
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("betterlockscreen -l dim") },
// Plasma screen lock (super + alt + shift + x)
{ MODKEY|Mod1Mask|ShiftMask, XK_x, spawn, SHCMD("qdbus-qt5 org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1") }
};
/* button definitions */