index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (1099B)
---
1 Mediakeys
2 =========
3
4 Description
5 -----------
6 This patch allows using the following keys to be used while the screen is
7 locked:
8
9 - XF86AudioPlay
10 - XF86AudioStop
11 - XF86AudioPrev
12 - XF86AudioNext
13 - XF86AudioRaiseVolume
14 - XF86AudioLowerVolume
15 - XF86AudioMute
16 - XF86AudioMicMute
17 - XF86MonBrightnessDown
18 - XF86MonBrightnessUp
19
20 I don't want to unlock the screen just in order to skip the current song or
21 raise the volume, mute, etc that's all there is to it.
22
23 NOTE: If you are using dwm for key bindings, in your `dwm.c` file, go to the
24 `setup` function to the line with `wa.event_mask =` and add `|KeyPressMask`
25
26 ```c
27 wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
28 |ButtonPressMask|PointerMotionMask|EnterWindowMask
29 |LeaveWindowMask|StructureNotifyMask|PropertyChangeMask|KeyPressMask;
30 ```
31
32
33 Download
34 --------
35 * [slock-1.4](https://patch-diff.githubusercontent.com/raw/phenax/bslock/pull/1.diff)
36 * [slock-mediakeys-20170111-2d2a21a.diff](slock-mediakeys-20170111-2d2a21a.diff)
37
38
39 Authors
40 -------
41 * Klemens Nanni <kl3@posteo.org>
42 * Akshay Nair <akshay-n0@protonmail.com> (1.4 version)
43