summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-04-06 20:37:39 -0700
committerLuke Smith <luke@lukesmith.xyz>2018-04-06 20:37:39 -0700
commit4dc4e439a1961cc2b682775babf72830914c7770 (patch)
treef78483d3192d3d312680baf3d65074f5fc898915 /.scripts
parenta5ad0978966a735d79e6ee147901a257f3b11c59 (diff)
downloadeibhear-4dc4e439a1961cc2b682775babf72830914c7770.tar.gz
eibhear-4dc4e439a1961cc2b682775babf72830914c7770.tar.zst
eibhear-4dc4e439a1961cc2b682775babf72830914c7770.zip
shutdown/reboot confirm prompt added (dmenu)
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"