sites

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

commit 212d02fa3e506a8de9f18bdff3f638f3292d8f54
parent f2ce3c118c081653e487a3ddf8d1194b302e54fa
Author: aleks <aleks.stier@icloud.com>
Date:   Thu, 19 Nov 2020 16:33:48 +0100

[dwm][setstatus] improve description

Diffstat:
Mdwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff | 10++++++++++
Mdwm.suckless.org/patches/setstatus/index.md | 9+++++++++
2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff b/dwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff @@ -7,6 +7,16 @@ Enables to set the status with dwm itself. No more xsetroot bloat! To change the status to `foo bar` execute: dwm -s "foo bar" + +Piping into `dwm -s` is currently not supported but you can set the +status to the output of any command by doing something like: + + dwm -s "$(run_command_which_outputs_the_status)" + +For example to set the status to the current date run: + + dwm -s "$(date)" + --- dwm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dwm.suckless.org/patches/setstatus/index.md b/dwm.suckless.org/patches/setstatus/index.md @@ -8,6 +8,15 @@ To change the status to `foo bar` execute: dwm -s "foo bar" +Piping into `dwm -s` is currently not supported but you can set the +status to the output of any command by doing something like: + + dwm -s "$(run_command_which_outputs_the_status)" + +For example to set the status to the current date run: + + dwm -s "$(date)" + Download -------- * [dwm-setstatus-6.2.diff](dwm-setstatus-6.2.diff)