Files
cheatsheet-tldr/tldr/linux/fuzzel
2025-04-23 00:19:06 +00:00

47 lines
1.1 KiB
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# fuzzel
> A Wayland-native application launcher and fuzzy finder, inspired by `rofi` and `dmenu`.
> More information: <https://codeberg.org/dnkl/fuzzel>.
- Run applications:
`fuzzel`
- Run `fuzzel` in dmenu mode:
`fuzzel {{[-d|--dmenu]}}`
- Display a menu of the output of the `ls` command:
`{{ls}} | fuzzel {{[-d|--dmenu]}}`
- Display a menu with custom items separated by a new line (`
`):
`echo -e "{{red}}
{{green}}
{{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|--dmenu]}} > {{color.txt}}`
- Reset apps usage count (default cache directory: `$XDG_CACHE_HOME/fuzzel`):
`rm {{[-v|--verbose]}} $HOME/.cache/fuzzel`
- Launch `fuzzel` on a specific monitor, see `wlr-randr` or `swaymsg --type get_outputs`:
`fuzzel {{[-o|--output]}} "{{DP-1}}"`
- Use `fuzzel` to do an online search:
`fuzzel {{[-d|--dmenu]}} {{[-l|--lines]}} 0 --placeholder "{{Type your search}}" | sed 's/^/\"/g;s/$/\"/g' | xargs firefox --search`