| index.md - sites - public wiki contents of suckless.org | |
| git clone git://git.suckless.org/sites | |
| Log | |
| Files | |
| 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… | |
| 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… | |
| 24 `setup` function to the line with `wa.event_mask =` and add `|KeyPressMa… | |
| 25 | |
| 26 ```c | |
| 27 wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask | |
| 28 |ButtonPressMask|PointerMotionMask|EnterWindowMask | |
| 29 |LeaveWindowMask|StructureNotifyMask|PropertyChangeMask|… | |
| 30 ``` | |
| 31 | |
| 32 | |
| 33 Download | |
| 34 -------- | |
| 35 * [slock-1.4](https://patch-diff.githubusercontent.com/raw/phenax/bslock… | |
| 36 * [slock-mediakeys-20170111-2d2a21a.diff](slock-mediakeys-20170111-2d2a2… | |
| 37 | |
| 38 | |
| 39 Authors | |
| 40 ------- | |
| 41 * Klemens Nanni <[email protected]> | |
| 42 * Akshay Nair <[email protected]> (1.4 version) | |
| 43 |