awesome API documentation

# Class `awful.widget.prompt`

The widget version of awful.prompt.

    local myprompt = awful.widget.prompt {
        prompt = 'Execute: '
    }
    myprompt:run()

### Info:

- Copyright: 2009 Julien Danjou
- Author: Julien Danjou <julien@danjou.info>

## Functions

awful.widget.prompt (args) | Create a prompt widget which will launch a command.

## Theme variables

beautiful.prompt_fg | The prompt foreground color.
beautiful.prompt_bg | The prompt background color.

## Functions

Methods

awful.widget.prompt (args)
  Create a prompt widget which will launch a command.
  - args Prompt arguments.
    - prompt string Prompt text. (default "Run: ")
    - bg color Prompt background color. (default `beautiful.prompt_bg` or `beautiful.bg_normal`)
    - fg color Prompt foreground color. (default `beautiful.prompt_fg` or `beautiful.fg_normal`)

  ### Returns:

  An instance of prompt widget, inherits from wibox.container.background.

## Theme variables

beautiful.prompt_fg
  The prompt foreground color.

  ### Type:

  - color

  ### See also:

  gears.color
beautiful.prompt_bg
  The prompt background color.

  ### Type:

  - color

  ### See also:

  gears.color

generated by LDoc 1.4.6 Last updated 2018-11-14 02:34:03