mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 05:54:11 +01:00
Document the title_format command
This commit is contained in:
parent
0327c999d7
commit
38bd60c4b3
@ -265,6 +265,24 @@ set|plus|minus <amount>
|
|||||||
becomes fullscreen on the same workspace as the first container. In either
|
becomes fullscreen on the same workspace as the first container. In either
|
||||||
of those cases, the second container will gain focus.
|
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
|
The following commands may be used either in the configuration file or at
|
||||||
runtime.
|
runtime.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user