sites

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

index.md (777B)


      1 Passthrough
      2 ===========
      3 
      4 Description
      5 -----------
      6 Adds a new table to `config.def.h` that allows you to specify binds that are
      7 allowed to pass through slock.
      8 
      9 Important! Much like the `mediakeys` patch, dwm will require a small patch to
     10 get this working. From `mediakeys`:
     11 
     12 If you are using dwm for key bindings, in your `dwm.c` file, go to the
     13 `setup` function to the line with `wa.event_mask =` and add `|KeyPressMask`
     14 
     15 ```c
     16 	wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
     17 		|ButtonPressMask|PointerMotionMask|EnterWindowMask
     18 		|LeaveWindowMask|StructureNotifyMask|PropertyChangeMask|KeyPressMask;
     19 ```
     20 
     21 
     22 Download
     23 --------
     24 * [slock-passthrough-20240812-809d3c0.diff](slock-passthrough-20240812-809d3c0.diff)
     25 
     26 
     27 Authors
     28 -------
     29 * Catboomer <catb00mer@proton.me>