sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (879B)


      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.
     23 
     24 Similarly you can modify your config.h and add more commands that you may want
     25 to execute (like tabbed-surf or similar).
     26 
     27 Download
     28 --------
     29 * [dwm-dwmfifo-6.1.diff](dwm-dwmfifo-6.1.diff) (6.9k) (29.01.2014)
     30 
     31 Author
     32 ------
     33 * sin - <sin@2f30.org>