From 9f3a9d7116c498647b1f50445f993a51a2ea2856 Mon Sep 17 00:00:00 2001 From: Hezzym <187081440+Hezzym@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:47:48 -0300 Subject: [PATCH 1/3] fuzzel: add page --- pages/linux/fuzzel.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/linux/fuzzel.md diff --git a/pages/linux/fuzzel.md b/pages/linux/fuzzel.md new file mode 100644 index 00000000000000..a2de2201fea97b --- /dev/null +++ b/pages/linux/fuzzel.md @@ -0,0 +1,37 @@ +# fuzzel + +> Dynamic Wayland-native menu. +> Fuzzel is a Wayland-native application launcher and fuzzy finder, inspired by rofi and dmenu. +> More information: . + +- Run applications: + +`fuzzel` + +- Run fuzzel in dmenu mode (`--dmenu` or `-d`): + +`fuzzel --dmenu` + +- Display a menu of the output of the `ls` command: + +`{{ls}} | fuzzel -d` + +- Display a menu with custom items separated by a new line (`\n`): + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel -d` + +- Let the user choose between multiple items and save the selected one to a file: + +`echo -e "{{red}}\n{{green}}\n{{blue}}" | fuzzel -d > {{color.txt}}` + +- Reset apps usage count, default directory `XDG_CACHE_HOME/fuzzel`: + +`rm -v $HOME/.cache/fuzzel` + +- Launch fuzzel on a specific monitor, see `wlr-randr` or `swaymsg -t get_outputs`: + +`fuzzel -o "DP-1"` + +- Use the fuzzel to do an online search: + +`fuzzel -d -p "Web Search: " | sed 's/^/\"/g; s/$/\"/g' | xargs firefox --search` From 89fa2d3a08c8f7e07a07651a67f3208f7de90e8d Mon Sep 17 00:00:00 2001 From: Hezzym <187081440+Hezzym@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:47:08 -0300 Subject: [PATCH 2/3] Web Search example: added '--lines 0' and 'Placeholder' --- pages/linux/fuzzel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/fuzzel.md b/pages/linux/fuzzel.md index a2de2201fea97b..25a957b2563624 100644 --- a/pages/linux/fuzzel.md +++ b/pages/linux/fuzzel.md @@ -34,4 +34,4 @@ - Use the fuzzel to do an online search: -`fuzzel -d -p "Web Search: " | sed 's/^/\"/g; s/$/\"/g' | xargs firefox --search` +`fuzzel -d -l 0 -p "> " --placeholder="Type your search" | sed 's/^/\"/g; s/$/\" /g' | xargs firefox --search` From 810e3a5db30883a460bdea3e5eafe9f1932a5a82 Mon Sep 17 00:00:00 2001 From: Hezzym <187081440+Hezzym@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:07:59 -0300 Subject: [PATCH 3/3] Web search example: Removed some unnecessary things(--prompt and useless spaces) --- pages/linux/fuzzel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/fuzzel.md b/pages/linux/fuzzel.md index 25a957b2563624..080df2766e301e 100644 --- a/pages/linux/fuzzel.md +++ b/pages/linux/fuzzel.md @@ -34,4 +34,4 @@ - Use the fuzzel to do an online search: -`fuzzel -d -l 0 -p "> " --placeholder="Type your search" | sed 's/^/\"/g; s/$/\" /g' | xargs firefox --search` +`fuzzel -d -l 0 --placeholder="Type your search" | sed 's/^/\"/g;s/$/\"/g' | xargs firefox --search`