summaryrefslogtreecommitdiff
path: root/bin/run
blob: 4b578566a35c1ac84c071a0192279f163a6f2b62 (plain)
1
2
3
4
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"