dotfiles/.local/bin/fuzzel-run
2026-08-15 19:39:06 +01:00

7 lines
260 B
Bash
Executable file

#!/usr/bin/env bash
# Generate a list of all commands, remove duplicates, and pipe to Fuzzel
selected=$(compgen -c | sort -u | fuzzel -d --prompt="RUN: ")
# Execute the selected binary through the compositor
[ -n "$selected" ] && swaymsg exec -- "$selected"