awful.widget.prompt: change ellipsize to start

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-27 14:45:42 +02:00
parent 107f1cf1dc
commit 69999fee93
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ function new(args)
local promptbox = {} local promptbox = {}
args.type = "textbox" args.type = "textbox"
promptbox.widget = capi.widget(args) promptbox.widget = capi.widget(args)
promptbox.widget.ellipsize = "start"
promptbox.run = run promptbox.run = run
promptbox.prompt = args.prompt or "Run: " promptbox.prompt = args.prompt or "Run: "
promptbox.layout = args.layout or layout.horizontal.leftright promptbox.layout = args.layout or layout.horizontal.leftright