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 (1048B)
       ---
            1 dwmfifo
            2 =======
            3 
            4 Description
            5 -----------
            6 This patch adds support for using a command/control FIFO for dwm. I've added
            7 commands that map 1-1 with the existing keybind actions. You can use this patch
            8 to script dwm. As an example the following sequence of commands starts 2
            9 terminals on each of the 2 monitors.
           10 
           11         echo term > /tmp/dwm.fifo
           12         sleep 0.5
           13         echo term > /tmp/dwm.fifo
           14         sleep 0.5
           15         echo focusmon+ > /tmp/dwm.fifo
           16         sleep 0.5
           17         echo term > /tmp/dwm.fifo
           18         sleep 0.5
           19         echo term > /tmp/dwm.fifo
           20 
           21 The sleep in between is currently needed to avoid buffering up more than a
           22 single command. You may experiment with the actual sleep value. Sleeps are no
           23 longer needed with the 20230713 version.
           24 
           25 Similarly you can modify your config.h and add more commands that you may want
           26 to execute (like tabbed-surf or similar).
           27 
           28 Download
           29 --------
           30 * [dwm-dwmfifo-6.1.diff](dwm-dwmfifo-6.1.diff) (6.9k) (2014-01-29)
           31 * [dwm-dwmfifo-20230713-e81f17d.diff](dwm-dwmfifo-20230714-e81f17d.diff) (8.1k) (2023-07-14)
           32 
           33 Author
           34 ------
           35 * sin - <sin@2f30.org>
           36 * inz - <inz@inz.fi>