summaryrefslogtreecommitdiff
path: root/bin/run
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run')
-rwxr-xr-xbin/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/run b/bin/run
new file mode 100755
index 0000000..4b57856
--- /dev/null
+++ b/bin/run
@@ -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"