changing dmenu prompts

master
TiynGER 5 years ago
parent ac56c115ff
commit 347abe89a3

@ -1,2 +1,2 @@
#!/bin/sh
dmenu -fn Monospace-18 -sb "#d79921" -sf "#1d2021" -nf "#000000" -nb "#000000" -p "$1" <&- && echo
dmenu -p "$1" <&- && echo

@ -6,7 +6,7 @@
xclip -h >/dev/null || exit
if [ -e ~/.config/fontawesome ]; then
chosen=$(grep -v "#" -h ~/.config/emoji ~/.config/fontawesome | dmenu -i -l 20 -fn Monospace-18)
chosen=$(grep -v "#" -h ~/.config/emoji ~/.config/fontawesome | dmenu -i -l 20 )
else
chosen=$(grep -v "#" ~/.config/emoji | dmenu -i -l 20 -fn Monospace-18)
fi

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

Loading…
Cancel
Save