sites

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

index.md (886B)


      1 externalpipe-signal
      2 ===================
      3 
      4 Description
      5 -----------
      6 
      7 Run an externalpipe command upon receiving the SIGUSR1 signal. This is helpful
      8 for supporting externalpipe scripts which work across multiple surf instances.
      9 With the example script you can access a dmenu populated with the contents of
     10 all tags contents of all open surf windows for directly pasting.
     11 
     12 Apply this patch on top of surf [externalpipe](/patches/externalpipe).
     13 
     14 Example
     15 -------
     16 Add the example script to your `$PATH`:
     17 - [externalpipe_buffer.sh](externalpipe_buffer.sh)
     18 
     19 Add to your `config.h`:
     20 	    static char *externalpipe_sigusr1[] = {"/bin/sh", "-c", "externalpipe_buffer.sh surf_strings_read"};
     21 
     22 Add to your WM as a hotkey:
     23 	    externalpipe_buffer.sh dmenu_type
     24 
     25 Download
     26 --------
     27 
     28 * [surf-externalpipe-signal-2.0.diff](surf-externalpipe-signal-2.0.diff)
     29 
     30 Author
     31 ------
     32 
     33 * Miles Alan - m@milesalan.com