diff options
Diffstat (limited to 'bin/run')
-rwxr-xr-x | bin/run | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +#!/bin/bash +SCRIPTS_DIR="$HOME/dotfiles/bin" && cd $SCRIPTS_DIR +SCRIPTS=$(ls -A $SCRIPTS_DIR) +TARGET=$(echo "${SCRIPTS//"$SCRIPTS_DIR/"/}" | dmenu -i -p "Run script:") +[[ -n $TARGET ]] && "$SCRIPTS_DIR/$TARGET" |