2022-10-07 14:47:14 +02:00
|
|
|
/* st externalpipe
|
|
|
|
*
|
|
|
|
* Externalpipe allows the user to write scripts that can read the text on the screen and perform actions on it (basically st | <script>).
|
|
|
|
*
|
|
|
|
* Below you can set the commands that will run, that can be, for example, bound to a key (see keybinds.h)
|
2022-09-02 14:32:45 +02:00
|
|
|
*/
|
2022-10-07 14:47:14 +02:00
|
|
|
|
2022-09-02 15:11:13 +02:00
|
|
|
char *externalpipe_sigusr1[] = { "/bin/sh", "-c", "st_buffer st_strings_read" };
|
2022-09-02 17:04:36 +02:00
|
|
|
static char *listurl[] = { "/bin/sh", "-c", "st_urllist", NULL };
|