mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-27 21:47:46 +01:00
changing dmenu prompts
This commit is contained in:
parent
0f324e25a3
commit
e3f91d2ca4
@ -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…
x
Reference in New Issue
Block a user