awful.widget.prompt: change ellipsize to start
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
107f1cf1dc
commit
69999fee93
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue