External Pipe

Description

This patch lets you write st’s screen text out through a pipe, for example, url-select (below).

Example

Bind alt+u to extract all visible urls and present dmenu, to choose and open said urls:

static Shortcut shortcuts[] = {
    ...
    { MODKEY, 'u', externalpipe, { .s = "xurls | dmenu -l 10 | xargs -r open" } },
};

(xurls and open are external scripts)

Download

Author