Merge pull request #1651 from TheRealLorenz/master

Feature: sway/window can show 'shell' parameter
This commit is contained in:
Alex
2022-08-18 15:21:09 +02:00
committed by GitHub
3 changed files with 29 additions and 16 deletions

View File

@ -14,8 +14,8 @@ Addressed by *sway/window*
*format*: ++
typeof: string ++
default: {} ++
The format, how information should be displayed. On {} data gets inserted.
default: {title} ++
The format, how information should be displayed.
*rotate*: ++
typeof: integer ++
@ -80,6 +80,15 @@ Addressed by *sway/window*
default: 24 ++
Option to change the size of the application icon.
# FORMAT REPLACEMENTS
*{title}*: The title of the focused window.
*{app_id}*: The app_id of the focused window.
*{shell}*: The shell of the focused window. It's 'xwayland' when the window is
running through xwayland, otherwise it's 'xdg-shell'.
# REWRITE RULES
*rewrite* is an object where keys are regular expressions and values are