sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 0d3dc828a15982e3b54645cb29f736b979bc4048
parent 0eb01b310ca942b543c9fbfb92b6066f7ab78aed
Author: Akshay Nair <phenax5@gmail.com>
Date:   Mon,  3 Aug 2020 18:11:10 +0530

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

Diffstat:
Mtools.suckless.org/slock/patches/mediakeys/index.md | 24+++++++++++++++++++-----
1 file changed, 19 insertions(+), 5 deletions(-)

diff --git 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 <kl3@posteo.org> -* Akshay Nair <akshay-n0@protonmail.com> +* Akshay Nair <akshay-n0@protonmail.com> (1.4 version)