From fcb81c33239a63d88b8ae0005008296135a1721c Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Mon, 4 Apr 2022 19:54:21 -0600 Subject: add suspend buttonstroke --- src/Internal/Keys.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit