commit 0d3dc828a15982e3b54645cb29f736b979bc4048
Author: Akshay Nair <[email protected]>
Date:   Mon Aug 3 18:11:10 2020 +0530

    Slock - Adds info about dwm key changes for slock mediakeys patch

diff --git a/tools.suckless.org/slock/patches/mediakeys/index.md 
b/tools.suckless.org/slock/patches/mediakeys/index.md
index 602dce98..c0de6e47 100644
--- a/tools.suckless.org/slock/patches/mediakeys/index.md
+++ b/tools.suckless.org/slock/patches/mediakeys/index.md
@@ -6,24 +6,38 @@ Description
 This patch allows using the following keys to be used while the screen is
 locked:
 
-- XF86AudioLowerVolume
-- XF86AudioMute
-- XF86AudioRaiseVolume
 - XF86AudioPlay
 - XF86AudioStop
 - XF86AudioPrev
 - XF86AudioNext
+- XF86AudioRaiseVolume
+- XF86AudioLowerVolume
+- XF86AudioMute
+- XF86AudioMicMute
+- XF86MonBrightnessDown
+- XF86MonBrightnessUp
 
 I don't want to unlock the screen just in order to skip the current song or
-raise the volume, that's all there is to it.
+raise the volume, mute, etc that's all there is to it.
+
+NOTE: If you are using dwm for key bindings, in your `dwm.c` file, go to the
+`setup` function to the line with `wa.event_mask =` and add `|KeyPressMask`
+
+```c
+       wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
+               |ButtonPressMask|PointerMotionMask|EnterWindowMask
+               
|LeaveWindowMask|StructureNotifyMask|PropertyChangeMask|KeyPressMask;
+```
+
 
 Download
 --------
 * 
[slock-1.4](https://patch-diff.githubusercontent.com/raw/phenax/bslock/pull/1.diff)
 * 
[slock-mediakeys-20170111-2d2a21a.diff](slock-mediakeys-20170111-2d2a21a.diff)
 
+
 Authors
 -------
 * Klemens Nanni <[email protected]>
-* Akshay Nair <[email protected]>
+* Akshay Nair <[email protected]> (1.4 version)
 


Reply via email to