xwininfo: add page; xkill: update page (#11945)

* xwininfo: add page ant pt_BR translation

* xkill: update page and pt_BR translation

* xwininfo: update pt_BR translation

* xwininfo: fix ID casing and ellipsis

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* xwininfo: fix ID casing in pt_BR

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Isaac Vicente <isaacvicentsocial@gmail.com>
This commit is contained in:
Vitor Henrique
2024-01-02 16:47:07 -03:00
committed by GitHub
parent bf244b5444
commit 8bd5c25864
4 changed files with 65 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
# xwininfo
> Mostra informações sobre janelas.
> Veja também: `xprop`, `xkill`.
> Mais informações: <https://www.x.org/releases/current/doc/man/man1/xwininfo.1.xhtml>.
- Mostra um cursor para selecionar uma janela para mostrar seus atributos (ID, nome, tamanho, posição...):
`xwininfo`
- Mostra a árvore de todas as janelas:
`xwininfo -tree -root`
- Mostra os atributos de uma janela com um ID específico:
`xwininfo -id {{id}}`
- Mostra os atributos de uma janela com um nome específico:
`xwininfo -name {{nome}}`
- Mostra o ID de uma janela buscando pelo nome:
`xwininfo -tree -root | grep {{palavra_chave}} | head -1 | perl -ne 'print $1 if /(0x[\da-f]+)/ig;'`