1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

changing dmenu prompts

This commit is contained in:
TiynGER
2020-03-27 10:50:29 +01:00
parent 0f324e25a3
commit e3f91d2ca4
3 changed files with 3 additions and 3 deletions

View File

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