index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (801B) | |
--- | |
1 setstatus | |
2 ========= | |
3 | |
4 Description | |
5 ----------- | |
6 Enables to set the status with dwm itself. No more xsetroot bloat! | |
7 To change the status to `foo bar` execute: | |
8 | |
9 dwm -s "foo bar" | |
10 | |
11 You can set the status with this command even if dwm is already running … | |
12 wm. It will start a new process, set the status and exit. The parameter … | |
13 not meant to be used at startup when you launch dwm as your wm. | |
14 | |
15 Piping into `dwm -s` is currently not supported but you can set the | |
16 status to the output of any command by doing something like: | |
17 | |
18 dwm -s "$(run_command_which_outputs_the_status)" | |
19 | |
20 For example to set the status to the current date run: | |
21 | |
22 dwm -s "$(date)" | |
23 | |
24 Download | |
25 -------- | |
26 * [dwm-setstatus-6.2.diff](dwm-setstatus-6.2.diff) | |
27 | |
28 Author | |
29 ------ | |
30 * Aleksandrs Stier - <[email protected]> (6.2) |