Skip to content

Commit

Permalink
dmenu: add Chinese translation (tldr-pages#5803)
Browse files Browse the repository at this point in the history
Tiny authored Apr 24, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0a15df6 commit 677a3bc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pages.zh/linux/dmenu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# dmenu

> 动态菜单。
> 根据文本输入创建菜单,其中每一项都在新行中。
- 显示 `ls` 命令输出的菜单:

`{{ls}} | dmenu`

- 显示包含自定义项目的菜单,并用新行(`\n`)分隔:

`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu`

- 让用户在多个项目之间进行选择,然后将所选项目保存到文件中:

`echo -e "{{red}}\n{{green}}\n{{blue}}" | dmenu > {{color.txt}}`

- 在特定的监视器上启动 `dmenu`

`ls | dmenu -m {{1}}`

- 在屏幕底部显示 `dmenu`

`ls | dmenu -b`

0 comments on commit 677a3bc

Please sign in to comment.