Skip to content

Commit da8a100

Browse files
sway-window, Issue 1399: adjust man page
1 parent 99ec69d commit da8a100

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

man/waybar-sway-window.5.scd

+25-2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,25 @@ Addressed by *sway/window*
6666
default: true ++
6767
Option to disable tooltip on hover.
6868

69+
*all-outputs*: ++
70+
typeof: bool ++
71+
default: false ++
72+
Option to show the focused window along with its workspace styles on all outputs.
73+
74+
*offscreen-css*: ++
75+
typeof: bool ++
76+
default: false ++
77+
Only effective when all-outputs is true. Adds style according to present windows on unfocused outputs instead of showing the focused window and style.
78+
79+
*offscreen-css-text*: ++
80+
typeof: string ++
81+
Only effective when both all-outputs and offscreen-style are true. On screens currently not focused, show the given text along with that workspaces styles.
82+
83+
*show-focused-workspace-name*: ++
84+
typeof: bool ++
85+
default: false ++
86+
If the workspace itself is focused and the workspace contains nodes or floating_nodes, show the workspace name. If not set, text remains empty but styles according to nodes in the workspace are still applied.
87+
6988
*rewrite*: ++
7089
typeof: object ++
7190
Rules to rewrite window title. See *rewrite rules*.
@@ -108,6 +127,10 @@ Invalid expressions (e.g., mismatched parentheses) are skipped.
108127
# STYLE
109128

110129
- *#window*
111-
- *window#waybar.empty* When no windows is in the workspace
112-
- *window#waybar.solo* When one window is in the workspace
130+
- *window#waybar.empty* When no windows are in the workspace, or screen is not focused and offscreen-text option is not set
131+
- *window#waybar.solo* When one tiled window is in the workspace
132+
- *window#waybar.floating* When there are only floating windows in the workspace
133+
- *window#waybar.stacked* When there is more than one window in the workspace and the workspace layout is stacked
134+
- *window#waybar.tabbed* When there is more than one window in the workspace and the workspace layout is tabbed
135+
- *window#waybar.tiled* When there is more than one window in the workspace and the workspace layout is splith or splitv
113136
- *window#waybar.<app_id>* Where *app_id* is the app_id or *instance* name like (*chromium*) of the only window in the workspace

0 commit comments

Comments
 (0)