X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.1;h=d14c707e10eb76a53c0a73771d3a835bc94ef07d;hb=e67f9f1bfadf1be7d65944154a710a097b7ffa1a;hp=2ec43fa28283e993ad6a602cc20c627e30552026;hpb=9e02feddd558ae6e6b87ba68343014b3342cbbc0;p=spectrwm.git diff --git a/spectrwm.1 b/spectrwm.1 index 2ec43fa..d14c707 100644 --- a/spectrwm.1 +++ b/spectrwm.1 @@ -103,6 +103,35 @@ Status bar font. .It Ic bar_font_color Ns Bq Ar x Color of the font in status bar in screen .Ar x . +.It Ic bar_format +Set the bar_format string and overrides +.Ic clock_format +and all of the +.Ic enabled +options. +The format is passed through +.Xr strftime 3 +before being used. +It may contain the following character sequences: +.Bl -column "Character sequence" "Replaced with" -offset indent +.It Sy "Character sequence" Ta Sy "Replaced with" +.It Li "+A" Ta "Output of the external script" +.It Li "+C" Ta "Window class" +.It Li "+D" Ta "Workspace name" +.It Li "+F" Ta "Floating indicator" +.It Li "+I" Ta "Workspace index" +.It Li "+N" Ta "Screen number" +.It Li "+S" Ta "Stacking algorithm" +.It Li "+T" Ta "Window title" +.It Li "+U" Ta "Urgency hint" +.It Li "+V" Ta "Program version" +.It Li "+W" Ta "Window name" +.It Li "++" Ta "A literal" Ql + +.El +.Pp +All character sequences may limit its output to a specific length, for example ++64A. +Any characters that don't match the specification are copied as-is. .It Ic bar_justify Justify the status bar text. Possible values are .Pa left , @@ -134,6 +163,29 @@ This ratio is the screen size to what they will be resized. For example, 0.6 is 60% of the physical screen size. .It Ic disable_border Remove border when bar is disabled and there is only one window on the screen. +.It Ic focus_close +Window to put focus when the focused window is closed. +Possible values are +.Pa first , +.Pa next , +.Pa previous +(default) and +.Pa last . +.Pa next +and +.Pa previous +are relative to the window that is closed. +.It Ic focus_close_wrap +Whether to allow the focus to jump to the last window when the first window is +closed or vice versa. +Disable by setting to 0. +.It Ic focus_default +Window to put focus when no window has been focused. +Possible values are +.Pa first +and +.Pa last +(default). .It Ic focus_mode Using a value of .Pa follow_cursor @@ -201,6 +253,19 @@ e.g.\& screen[1]:800x1200+0+0. To make a screen span multiple monitors, create a region big enough to cover them all, e.g. screen[1]:2048x768+0+0 makes the screen span two monitors with 1024x768 resolution sitting one next to the other. +.It Ic spawn_position +Position in stack to place newly spawned windows. +Possible values are +.Pa first , +.Pa next , +.Pa previous +and +.Pa last +(default). +.Pa next +and +.Pa previous +are relative to the focused window. .It Ic stack_enabled Enable or disable displaying the current stacking algorithm in the status bar. .It Ic term_width @@ -241,6 +306,12 @@ Enable by setting to 1. .It Ic window_name_enabled Enable or disable displaying the window name in the status bar. Enable by setting to 1. +.Pp +To prevent excessively large window names from pushing the remaining text off +the screen, it's limited to 64 characters, by default. +See the +.Ic bar_format +option for more details. .It Ic workspace_limit Set the total number of workspaces available. Minimum is 1, maximum is 22. .El