add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

29
pages.zh/linux/wtype.md Normal file
View File

@@ -0,0 +1,29 @@
# wtype
> 在Wayland上模拟键盘输入类似于X11的`xdotool type`。
> 另见:`ydotool`。
> 更多信息:<https://github.com/atx/wtype>。
- 模拟输入文本:
`wtype "{{Hello World}}"`
- 输入特定的按键:
`wtype -k {{Left}}`
- 按下一个修饰键:
`wtype -M {{shift|ctrl|...}}`
- 释放一个修饰键:
`wtype -m {{ctrl}}`
- 在按键之间等待(以毫秒为单位):
`wtype -d {{500}} -- "{{text}}"`
-`stdin`读取文本:
`echo "{{text}}" | wtype -`