aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-04-04 19:54:21 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:46 -0600
commitfcb81c33239a63d88b8ae0005008296135a1721c (patch)
tree49b321ab377c28ab3541bcab44f733b20b68ac02
parent255e93111fe464bb035bfe4fcc79311404746471 (diff)
downloadrde-fcb81c33239a63d88b8ae0005008296135a1721c.tar.gz
rde-fcb81c33239a63d88b8ae0005008296135a1721c.tar.bz2
rde-fcb81c33239a63d88b8ae0005008296135a1721c.zip
add suspend buttonstroke
-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