aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-02-25 23:59:55 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-02-25 23:59:55 -0700
commit3c3c03b87a2d68f0115e33d16bb8093dd8b211f4 (patch)
tree6d4e57a14d603a4823d178655a2315b8a84c294a /src
parent4b9fe5ae5c39ef11809ea5e660ab5acafce2ea55 (diff)
downloadrde-3c3c03b87a2d68f0115e33d16bb8093dd8b211f4.tar.gz
rde-3c3c03b87a2d68f0115e33d16bb8093dd8b211f4.tar.bz2
rde-3c3c03b87a2d68f0115e33d16bb8093dd8b211f4.zip
Change the suspend from pm-suspend to systemctl suspend
Diffstat (limited to 'src')
-rw-r--r--src/Internal/Keys.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 89b4e0f..4828f27 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -132,7 +132,7 @@ newKeys =
, ((modm, xK_r), (void $ spawn "dmenu_run"))
, ((modm .|. shiftMask, xK_r), (void $ spawn "gmrun"))
, ((modm .|. mod1Mask, xK_l), (void $ spawn "xsecurelock"))
- , ((modm .|. mod1Mask, xK_s), (void $ spawn "xsecurelock && pm-suspend"))
+ , ((modm .|. mod1Mask, xK_s), (void $ spawn "sudo systemctl suspend"))
, ((modm .|. shiftMask, xK_c), kill)
, ((modm .|. shiftMask, xK_t), withFocused $ windows . W.sink)
, ((modm, xK_t), (void $ spawn (terminal config)))