summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
Diffstat (limited to '.scripts')
-rwxr-xr-x.scripts/prompt3
1 files changed, 3 insertions, 0 deletions
diff --git a/.scripts/prompt b/.scripts/prompt
new file mode 100755
index 0000000..f210986
--- /dev/null
+++ b/.scripts/prompt
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ $(echo -e "No\nYes" | dmenu -i -p "$1" -nb darkred -sb red -sf white -nf gray -fn mono) \
+== "Yes" ] && "$@:2"