diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-04-04 19:54:21 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-04-04 19:54:21 -0600 |
| commit | ab90e6f48f5448fa385e1d6f96f95ac723910264 (patch) | |
| tree | 49b321ab377c28ab3541bcab44f733b20b68ac02 /src | |
| parent | c194a9be4e43bc4514070d172024fcf3354fb662 (diff) | |
| download | rde-ab90e6f48f5448fa385e1d6f96f95ac723910264.tar.gz rde-ab90e6f48f5448fa385e1d6f96f95ac723910264.tar.bz2 rde-ab90e6f48f5448fa385e1d6f96f95ac723910264.zip | |
add suspend buttonstroke
Diffstat (limited to 'src')
| -rw-r--r-- | src/Internal/Keys.hs | 2 |
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 |