[wiki] [sites] [dwm][setstatus] improve description || aleks

From: <git_AT_suckless.org>
Date: Thu, 19 Nov 2020 16:34:19 +0100

commit 212d02fa3e506a8de9f18bdff3f638f3292d8f54
Author: aleks <aleks.stier_AT_icloud.com>
Date: Thu Nov 19 16:33:48 2020 +0100

    [dwm][setstatus] improve description

diff --git a/dwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff b/dwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff
index 1c85bb40..ae73c466 100644
--- a/dwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff
+++ b/dwm.suckless.org/patches/setstatus/dwm-setstatus-6.2.diff
_AT_@ -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
index 065b7d8a..8cf245ad 100644
--- a/dwm.suckless.org/patches/setstatus/index.md
+++ b/dwm.suckless.org/patches/setstatus/index.md
_AT_@ -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)
Received on Thu Nov 19 2020 - 16:34:19 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 19 2020 - 16:36:43 CET