commit 3022de3a0c13f21b2eaf6c1b0e123939564e259d
Author: Devin J. Pohly <[email protected]>
Date:   Sat Apr 21 18:49:29 2018 -0500

    Use $WINDOWID instead of old winid
    
    As of 3e44ee5 (or 0.8), $WINDOWID is directly available to spawned
    programs and the winid hack is removed.  Update the example accordingly.

diff --git a/st.suckless.org/patches/externalpipe/index.md 
b/st.suckless.org/patches/externalpipe/index.md
index 3795ab07..02c64fca 100644
--- a/st.suckless.org/patches/externalpipe/index.md
+++ b/st.suckless.org/patches/externalpipe/index.md
@@ -13,8 +13,8 @@ config.h example, binding `TERMMOD + U` to extract all 
visible URLs and present
 dmenu to select and open one:
 
        static char *openurlcmd[] = { "/bin/sh", "-c",
-               "xurls | dmenu -l 10 -w $1 | xargs -r open",
-               "externalpipe", winid, NULL };
+               "xurls | dmenu -l 10 -w $WINDOWID | xargs -r open",
+               "externalpipe", NULL };
        Shortcut shortcuts[] = {
                ...
                { TERMMOD, XK_U, externalpipe, { .v = openurlcmd } },


Reply via email to