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 (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 as your
12 wm. It will start a new process, set the status and exit. The parameter `-s` is
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 - <aleks.stier@icloud.com> (6.2)