mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 23:54:33 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,20 +18,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display a menu of the output of the `ls` command:
|
||||
|
||||
`{{ls}} | fuzzel -d`
|
||||
`{{ls}} | fuzzel {{[-d|--dmenu]}}`
|
||||
|
||||
- Display a menu with custom items separated by a new line (`
|
||||
`):
|
||||
|
||||
`echo -e "{{red}}
|
||||
{{green}}
|
||||
{{blue}}" | fuzzel -d`
|
||||
{{blue}}" | fuzzel {{[-d|--dmenu]}}`
|
||||
|
||||
- Let the user choose between multiple items and save the selected one to a file:
|
||||
|
||||
`echo -e "{{red}}
|
||||
{{green}}
|
||||
{{blue}}" | fuzzel -d > {{color.txt}}`
|
||||
{{blue}}" | fuzzel {{[-d|--dmenu]}} > {{color.txt}}`
|
||||
|
||||
- Reset apps usage count (default cache directory: `$XDG_CACHE_HOME/fuzzel`):
|
||||
|
||||
@@ -39,8 +39,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Launch `fuzzel` on a specific monitor, see `wlr-randr` or `swaymsg -t get_outputs`:
|
||||
|
||||
`fuzzel -o "{{DP-1}}"`
|
||||
`fuzzel {{[-o|--output]}} "{{DP-1}}"`
|
||||
|
||||
- Use `fuzzel` to do an online search:
|
||||
|
||||
`fuzzel -d -l 0 --placeholder "{{Type your search}}" | sed 's/^/\"/g;s/$/\"/g' | xargs firefox --search`
|
||||
`fuzzel {{[-d|--dmenu]}} {{[-l|--lines]}} 0 --placeholder "{{Type your search}}" | sed 's/^/\"/g;s/$/\"/g' | xargs firefox --search`
|
||||
|
||||
Reference in New Issue
Block a user