commit 4b3fcb045de9742ead9e474c69f469ecd206859d
Author: Aleksandrs Stier <[email protected]>
Date:   Sat Jun 11 00:03:13 2022 +0200

    [dwm][status_monitor|tutorial] mention xprop as an alternative to xsetroot

diff --git a/dwm.suckless.org/status_monitor/index.md 
b/dwm.suckless.org/status_monitor/index.md
index 8b51289e..690422e5 100644
--- a/dwm.suckless.org/status_monitor/index.md
+++ b/dwm.suckless.org/status_monitor/index.md
@@ -10,6 +10,11 @@ It can be easily set and retrieved using standard Unix tools.
        xprop -root -notype -f WM_NAME "8u" \
                | sed -n -r 's/WM_NAME = \"(.*)\"/\1/p'
 
+Alternatively, instead of xsetroot also xprop can be used to set the
+status-bar-text.
+
+       xprop -root -set WM_NAME $status
+
 Set The Status Using A Shell Script
 -----------------------------------
        while true; do
diff --git a/dwm.suckless.org/tutorial/index.md 
b/dwm.suckless.org/tutorial/index.md
index 6331d196..3e1998a8 100644
--- a/dwm.suckless.org/tutorial/index.md
+++ b/dwm.suckless.org/tutorial/index.md
@@ -112,6 +112,10 @@ Using the tools of X.org, this can be set using:
 
        % xsetroot -name "Some Text"
 
+or
+
+       % xprop -root -set WM_NAME "Some Text"
+
 There are various tools and methods to populate this text with useful
 information from your system or services running on your system. A barebone for
 doing this in C is [dwmstatus](../status_monitor/). See the


Reply via email to