forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmenu: add Chinese translation (tldr-pages#5803)
Tiny
authored
Apr 24, 2021
1 parent
0a15df6
commit 677a3bc
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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` |