7 lines
260 B
Bash
Executable file
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"
|