mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
Document the title_format command
This commit is contained in:
parent
0327c999d7
commit
38bd60c4b3
1 changed files with 19 additions and 1 deletions
|
@ -265,6 +265,24 @@ set|plus|minus <amount>
|
|||
becomes fullscreen on the same workspace as the first container. In either
|
||||
of those cases, the second container will gain focus.
|
||||
|
||||
*title_format* <format>
|
||||
Sets the format of window titles. The following placeholders may be used:
|
||||
|
||||
%title - The title supplied by the window
|
||||
%app_id - The wayland app ID (applicable to wayland windows only)
|
||||
%class - The X11 classname (applicable to xwayland windows only)
|
||||
%instance - The X11 instance (applicable to xwayland windows only)
|
||||
%shell - The protocol the window is using (typically xwayland or
|
||||
xdg_shell)
|
||||
|
||||
This command is typically used with *for_window* criteria. For example:
|
||||
|
||||
for_window [title="."] title_format "<b>%title</b> (%app_id)"
|
||||
|
||||
Note that markup requires pango to be enabled via the *font* command.
|
||||
|
||||
The default format is "%title".
|
||||
|
||||
The following commands may be used either in the configuration file or at
|
||||
runtime.
|
||||
|
||||
|
|
Loading…
Reference in a new issue