index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
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 a… | |
7 commands that map 1-1 with the existing keybind actions. You can use thi… | |
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… | |
22 single command. You may experiment with the actual sleep value. Sleeps a… | |
23 longer needed with the 20230713 version. | |
24 | |
25 Similarly you can modify your config.h and add more commands that you ma… | |
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)… | |
32 | |
33 Author | |
34 ------ | |
35 * sin - <[email protected]> | |
36 * inz - <[email protected]> |