Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-16 00:20:08 +00:00
parent 367b1e4cb2
commit 07c7ca9e90
25 changed files with 227 additions and 85 deletions

View File

@@ -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`