dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e7a1703b6413ce8019cec3d2bdc42b060ce56240
parent ed2a88660fda6030705567b6bb5cfc4ae154469b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu,  4 Oct 2018 22:04:23 -0400

prompt uses printf for compatibility

Diffstat:
M.scripts/prompt | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.scripts/prompt b/.scripts/prompt @@ -4,5 +4,4 @@ # For example: # `./prompt "Do you want to shutdown?" "shutdown -h now"` -[ $(echo -e "No\nYes" | dmenu -i -p "$1" -nb darkred -sb red -sf white -nf gray -fn mono) \ -== "Yes" ] && $2 +[ "$(printf "No\\nYes" | dmenu -i -p "$1" -nb darkred -sb red -sf white -nf gray )" = "Yes" ] && $2