Dotfiles/desktopenvs/hyprlua/scripts/pwr-dmenu.sh

7 lines
320 B
Bash
Executable File

#!/bin/zsh
# Present a list of frequent commands via wofi and execute the selected one in zsh.
# frequentcommands.list is a plain-text file with one shell command per line.
# The selected line is piped to zsh so aliases and functions are available.
cat ~/.config/scripts/frequentcommands.list | wofi --show=dmenu | zsh