HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fuzzel — A Wayland-native application launcher and fuzzy finder, inspired by `rofi` and `dmenu`. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlauncherwaylandandnativeclifuzzelapplication
linux

Problem

How to use the fuzzel command: A Wayland-native application launcher and fuzzy finder, inspired by rofi and dmenu. More information: <https://codeberg.org/dnkl/fuzzel>.

Solution

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 (\n):
echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel {{[-d|--dmenu]}}


Let the user choose between multiple items and save the selected one to a file:
echo -e "{{red}}\n{{green}}\n{{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

Code Snippets

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 (`\n`)

echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel {{[-d|--dmenu]}}

Let the user choose between multiple items and save the selected one to a file

echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel {{[-d|--dmenu]}} > {{color.txt}}

Context

tldr-pages: linux/fuzzel

Revisions (0)

No revisions yet.