Introduction
Introduction Statistics Contact Development Disclaimer Help
index.md - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
index.md (985B)
---
1 fsignal
2 =======
3
4 Description
5 -----------
6 Send "fake signals" to dwm for handling, using xsetroot. This will not c…
7 with the status bar, which also is managed using xsetroot.
8
9 Usage areas can for example be setting layout through dmenu, or other ex…
10 applications.
11
12 Usage
13 -----
14 A signal can be sent for example in this way `xsetroot -name "fsignal:1"…
15 send the signal '1'.
16
17 Signal handlers are defined in config.h as:
18
19 static Signal signals[] = {
20 /* signum function argument*/
21 { 1, setlayout, {.v = 0} },
22 ...
23 };
24
25 This can then be triggered through dmenu with this script:
26
27 #!/bin/bash
28 layouts="echo -e tiled\ncolumns\n..."
29 layout=$($layouts | dmenu "$@")
30
31 if [[ "$layout" == "tiled" ]];then xsetroot -name "fsignal:1"; fi
32 ...
33
34 ...or however you want to use it :)
35
36 Download
37 --------
38 * [dwm-fsignal-6.2.diff](dwm-fsignal-6.2.diff)
39
40 Authors
41 -------
42 * Chris Noxz - <[email protected]>
43 * Nihal Jere <[email protected]>
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.