summaryrefslogtreecommitdiff
path: root/scripts/dprompt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dprompt')
-rwxr-xr-xscripts/dprompt9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/dprompt b/scripts/dprompt
deleted file mode 100755
index 9549658..0000000
--- a/scripts/dprompt
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-# A dmenu binary prompt script
-# Gives dmenu prompt labeled with $1 to perform command $2
-# For example:
-# './promptquit "Do you really want to quit?" "shutdown -h now"'
-
-[ $(echo -e "No\nYes" | dmenu -i -p "$1") \
- == "Yes" ] && $2
-