Commit graph

1 commit

Author SHA1 Message Date
472b2e8f92 Add simple prompt program based on dmenu
Can be used to as for confirmation for actions (E.g. shut down pc,
reboot and so on). Takes 3 parameters, with the last being optional, in
the form of:

dmenuprompt "Text to display" "command to execute on yes"
[success/warn/danger]

The last flag only changes the colors being displayed by the prompt.
If the last flag is not provided, it will display in default colors.
2019-05-22 14:24:29 +02:00