mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Implement title_format
This implements the title_format command, with a new placeholder %shell
which gets substituted with the view type (xwayland, xdg_shell_v6 or
wl_shell).
Example config:
for_window [title=".*"] title_format %title (class=%class instance=%instance shell=%shell)
This commit is contained in:
parent
8dae168b77
commit
228c478e8d
10 changed files with 201 additions and 42 deletions
|
|
@ -182,6 +182,7 @@ static struct cmd_handler command_handlers[] = {
|
|||
{ "splith", cmd_splith },
|
||||
{ "splitt", cmd_splitt },
|
||||
{ "splitv", cmd_splitv },
|
||||
{ "title_format", cmd_title_format },
|
||||
};
|
||||
|
||||
static int handler_compare(const void *_a, const void *_b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue