aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Internal/Keys.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 6d34c4a..961bfc5 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -606,6 +606,8 @@ mouseMap = runButtons $ do
bind button13 $ noMod $ subMouse $ do
bind button13 $ noMod $ subMouse $ do
bind button13 $ noMod $ noWindow $ spawnX "xsecurelock"
+ bind button1 $ noMod $ noWindow $
+ spawnX "sudo -A systemctl suspend && xsecurelock"
bind button15 $ do