i3-companion: display percent value for window info

This commit is contained in:
Vincent Bernat 2021-07-07 22:04:38 +02:00
parent b368fb65c5
commit eea648a27a

View file

@ -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))}"