Class awful.widget.prompt

The widget version of awful.prompt.

Usage example

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

Info:

  • Copyright: 2009 Julien Danjou
  • Author: Julien Danjou <[email protected]>

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:

beautiful.prompt_bg
The prompt background color.

Type:

  • color

See also:

generated by LDoc 1.4.6 Last updated 2017-07-25 16:21:08