aboutsummaryrefslogtreecommitdiff
path: root/src/Internal
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-02-02 13:19:59 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-02-02 13:19:59 -0700
commitd04d6f8ccee05f4b70d88f4a4cc3f36b1c3d5744 (patch)
tree52cf6dc6fd201d64d01b91bd4d215cdecf3ef7cc /src/Internal
parentb5cd0351a530d06e8648a12399d90524eafb8569 (diff)
downloadrde-d04d6f8ccee05f4b70d88f4a4cc3f36b1c3d5744.tar.gz
rde-d04d6f8ccee05f4b70d88f4a4cc3f36b1c3d5744.tar.bz2
rde-d04d6f8ccee05f4b70d88f4a4cc3f36b1c3d5744.zip
Add Tilda and MPV float classes + XScreenSaver lock/suspend shortcut.
Diffstat (limited to 'src/Internal')
-rw-r--r--src/Internal/Keys.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Internal/Keys.hs b/src/Internal/Keys.hs
index 6ba903e..8ec06b6 100644
--- a/src/Internal/Keys.hs
+++ b/src/Internal/Keys.hs
@@ -39,6 +39,7 @@ newKeys =
, ((modm, xK_r), (void $ spawn "dmenu_run"))
, ((modm .|. shiftMask, xK_r), (void $ spawn "gmrun"))
, ((modm .|. mod1Mask, xK_l), (void $ spawn "xscreensaver-command -lock"))
+ , ((modm .|. mod1Mask, xK_s), (void $ spawn "xscreensaver-command -lock && sudo pm-suspend"))
, ((modm .|. shiftMask, xK_c), kill)
, ((modm .|. shiftMask, xK_t), withFocused $ windows . W.sink)
, ((modm, xK_t), (void $ spawn (terminal config)))