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 (828B)
---
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 st instances.
9 With the example script you can access a dmenu populated with strings from all
10 open st instances.
11
12 Apply this patch on top of st [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 char *externalpipe_sigusr1[] = {"/bin/sh", "-c", "externalpipe_buffer.sh st_strings_read"};
21
22 Add to your WM as a hotkey:
23 externalpipe_buffer.sh dmenu_type
24
25 Download
26 --------
27
28 * [st-externalpipe-signal-0.8.2.diff](st-externalpipe-signal-0.8.2.diff)
29
30 Author
31 ------
32
33 * Miles Alan - m@milesalan.com