shutdown/reboot confirm prompt added (dmenu)

This commit is contained in:
Luke Smith
2018-04-06 20:37:39 -07:00
parent a5ad097896
commit 4dc4e439a1
3 changed files with 11 additions and 8 deletions

3
.scripts/prompt Executable file
View File

@@ -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"