The name[n] entry in the spectrwm(1) manual is misleading:
Set name of workspace n at start-of-day.
I would think I can use name[1] = My_workspace and then name[2] = fizzy-pop. Instead, the correct syntax is the same as with autorun. So I can configure my workspaces' names like the following:
name = ws[1]:My_workspace and name = ws[2]:Three word name
Here is a diff:
--- spectrwm.1 2014-02-24 08:20:16.268053799 +0100
+++ spectrwm.1.new 2014-02-26 16:58:21.459413048 +0100
@@ -320,9 +320,8 @@ This setting is not retained at restart.
Change mod key.
Mod1 is generally the ALT key and Mod4 is the windows key on a PC.
.It Ic name Ns Bq Ar n
-Set name of workspace
-.Ar n
-at start-of-day.
+Set the name of a workspace at start-of-day. Defined in the format ws[<idx>]:<name>, e.g. ws[1]:Console sets the name of workspace 1 to
+.Dq Console .
.It Ic program Ns Bq Ar p
Define new action to spawn a program
.Ar p .
The
name[n]
entry in the spectrwm(1) manual is misleading:I would think I can use
name[1] = My_workspace
and thenname[2] = fizzy-pop
. Instead, the correct syntax is the same as withautorun
. So I can configure my workspaces' names like the following:name = ws[1]:My_workspace
andname = ws[2]:Three word name
Here is a diff: