externalpipe

Description

Reading and writing st’s screen through a pipe.

Example

config.h example, binding Mod1+u to extract all visible URLs and present dmenu to select and open one:

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

(xurls and open are external scripts)

Download

Authors