Skip to content

Commit

Permalink
sway-window, Issue 1399: adjust man page
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertMueller2 committed Apr 21, 2022
1 parent 68c814f commit 0c642b7
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions man/waybar-sway-window.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,25 @@ Addressed by *sway/window*
default: true ++
Option to disable tooltip on hover.

*all-outputs*: ++
typeof: bool ++
default: false ++
Option to show the focused window along with its workspace styles on all outputs.

*offscreen-css*: ++
typeof: bool ++
default: false ++
Only effective when all-outputs is true. Adds style according to present windows on unfocused outputs instead of showing the focused window and style.

*offscreen-css-text*: ++
typeof: string ++
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.

*show-focused-workspace-name*: ++
typeof: bool ++
default: false ++
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.

*rewrite*: ++
typeof: object ++
Rules to rewrite window title. See *rewrite rules*.
Expand Down Expand Up @@ -108,6 +127,10 @@ Invalid expressions (e.g., mismatched parentheses) are skipped.
# STYLE

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

0 comments on commit 0c642b7

Please sign in to comment.