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 (1100B)
       ---
            1 open\_copied\_url
            2 =================
            3 
            4 Description
            5 -----------
            6 Open contents of the clipboard in a user-defined browser.
            7 
            8 The clipboard in this case refers to the CLIPBOARD selection which gets
            9 populated when pressing e.g. C-c.
           10 
           11 Instructions
           12 ------------
           13 Add a keybinding like the following example to "shortcuts" in config.h:
           14 
           15         { MODKEY, XK_v, opencopied, {.v = "firefox"} },
           16 
           17 Set the .v field of the last parameter to the program you want to bind to the key.
           18 
           19 Notes
           20 -----
           21 By default this patch binds the Mod+o to "xdg-open". This allows users
           22 to open the contents of the clipboard in the default browser.
           23 
           24 Download
           25 --------
           26 * [st-openclipboard-20190202-0.8.1.diff](st-openclipboard-20190202-0.8.1.diff)
           27 * [st-openclipboard-20190202-3be4cf1.diff](st-openclipboard-20190202-3be4cf1.diff)
           28 * [st-openclipboard-20210802-2ec571.diff](st-openclipboard-20210802-2ec571.diff)
           29 * [st-openclipboard-20220217-0.8.5.diff](st-openclipboard-20220217-0.8.5.diff)
           30 
           31 Authors
           32 -------
           33 * Michael Buch - <michaelbuch12@gmail.com>
           34 * Sai Praneeth Reddy - <spr.mora04@gmail.com> (0.8.1, open external programs
           35   independently)