@ -324,17 +324,17 @@ right now.
* `fallback_icon` is a path to some PNG/SVG icon which will be used as
* `fallback_icon` is a path to some PNG/SVG icon which will be used as
`{app_icon}` if no application-specific icon can be determined.
`{app_icon}` if no application-specific icon can be determined.
The placeholders `{id}` , `{app_name}` , `{name}` /`{title}`, `{output_name}` ,
All the placeholders except `{app_icon}` , `{indent}` , `{urgency_start}` , and
`{workspace_name}` , and `{marks }` may optionally provide a format string as
`{urgency_end }` may optionally provide a format string as specified by
specified by [Rust's std::fmt ](https://doc.rust-lang.org/std/fmt/ ). The syntax
[Rust's std::fmt ](https://doc.rust-lang.org/std/fmt/ ). The syntax is
is `{<placeholder>:<fmt_str><clipped_str>}` . For example,
`{<placeholder>:<fmt_str><clipped_str>}` . For example, `{app_name:{:>10.10}}`
`{app_name:{:>10.10}}` would mean that the application name is printed with
would mean that the application name is printed with exactly 10 characters. If
exactly 10 characters. If it's shorter, it will be right-aligned (the `>` ) and
it's shorter, it will be right-aligned (the `>` ) and padded with spaces, if
padded with spaces, if it's longer, it'll be cut after the 10th character.
it's longer, it'll be cut after the 10th character. Another example,
Another example, `{app_name:{:.10}...}` would mean that the application name is
`{app_name:{:.10}...}` would mean that the application name is truncated at 10
truncated at 10 characters. If it's shorter, it will be printed as-is (no
characters. If it's shorter, it will be printed as-is (no padding), if it's
padding), if it's longer, it'll be cut after the 10th character and the last
longer, it'll be cut after the 10th character and the last 3 characters of tha t
3 characters of that substring will be replaced with `...` (`< clipped_str > `).
substring will be replaced with `...` (`< clipped_str > `).
It is crucial that during selection (using wofi or some other menu program)
It is crucial that during selection (using wofi or some other menu program)
each window has a different display string. Therefore, it is highly
each window has a different display string. Therefore, it is highly