commit 2e32e0cbb1402dc963769c9021a0607c84333cc3 Spenser Truex <truex@equwal.com> 2025-09-01 19:04:36 -0400 Add ddmenu
README.md | 1 + ddmenu | 5 +++++ 2 files changed, 6 insertions(+)
diff --git a/README.md b/README.md index 6a91159..549485b 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ with that. - `dbc`: do `bc -l` on the input so you can do math - `dbrowsel`: select a browser for the link in the clipboard to open +- `ddmenu`: use dmenu to select a dmenu script -- dception - `dmenu_run/dsudo`: run programs, maybe from a keybind set with xbindkeys or a wm - `dshow`: run a command and show output without having to open a terminal - `dsysact`: reboot/shutdown/etc. diff --git a/ddmenu b/ddmenu new file mode 100755 index 0000000..17527b5 --- /dev/null +++ b/ddmenu @@ -0,0 +1,5 @@ +#!/bin/sh + +LOCATION="$HOME"/src/repos/gh/equwal/dmenu-scripts + +find "$LOCATION" -executable | grep -v '^.git' | dmenu -p "Choose dmenu script:" "$@" | ${SHELL:-"/bin/sh"}