-
Notifications
You must be signed in to change notification settings - Fork 1
ask
daniel edited this page Jun 25, 2021
·
6 revisions
/bootstrap-plugins/ask - ask for input
Name | Description | Default Value |
---|---|---|
RPI_ASK_METHOD | the asking method (One of: read, dialog, zenity) | |
RPI_ASK_QUESTIONn | question number n (starting from 0) | |
RPI_ASK_DEFAULTn | preset answer to question n | |
RPI_ASK_VARIABLEn | name of variable to store answer to question n | |
RPI_ASK_ARGUMENTSn | method specific arguments to pass to method (s. manual of specific method for possible arguments) |
none
RPI_BOOTSTRAP_PLUGINS+=("ask")
to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "ask" ... )
to place at some position in the current list.
RPI_ASK_QUESTION0="How are you?"
RPI_ASK_VARIABLE0="RPI_MOOD"
RPI_ASK_DEFAULT0="I'm fine!"
RPI_ASK_QUESTION0="How are you?"
RPI_ASK_VARIABLE0="RPI_MOOD"
RPI_ASK_METHOD="dialog"
RPI_ASK_QUESTION0="How are you?"
RPI_ASK_VARIABLE0="RPI_MOOD"
RPI_ASK_ARGUMENTS0="--entry,--entry-text=totally\ fine,--title=the\ big\ questions..."
TODO