mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 11:48:33 +02:00
i3-companion: display percent value for window info
This commit is contained in:
parent
b368fb65c5
commit
eea648a27a
1 changed files with 1 additions and 0 deletions
|
@ -240,6 +240,7 @@ async def window_info(i3, event):
|
|||
"floating": w.floating,
|
||||
"geometry": f"{r.width}×{r.height}+{r.x}+{r.y}",
|
||||
"layout": w.layout,
|
||||
"parcent": w.percent,
|
||||
"marks": ", ".join(w.marks) or "(none)"
|
||||
}
|
||||
body = "\n".join((f"<tt>{k:10}</tt> {html.escape(str(v))}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue