mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Merge 92843fd4ad3992859c1ac5611de4610f3611d9ff into cbe88333413b9e9dc66af963339ce2e7b9eb014c
This commit is contained in:
commit
9d54028f5f
@ -3,6 +3,8 @@
|
|||||||
# Gives a dmenu prompt labeled with $1 to perform command $2.
|
# Gives a dmenu prompt labeled with $1 to perform command $2.
|
||||||
# For example:
|
# For example:
|
||||||
# `./prompt "Do you want to shutdown?" "shutdown -h now"`
|
# `./prompt "Do you want to shutdown?" "shutdown -h now"`
|
||||||
|
# Import the colors
|
||||||
|
. "${HOME}/.cache/wal/colors.sh"
|
||||||
|
|
||||||
[ $(echo -e "No\nYes" | dmenu -i -p "$1" -nb darkred -sb red -sf white -nf gray -fn mono) \
|
[ $(echo -e "No\nYes" | dmenu -i -p "$1" -nb "$color0" -sb "$color1" -sf "$color15" -nf "$color15" -fn mono) \
|
||||||
== "Yes" ] && $2
|
== "Yes" ] && $2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user