improvements

This commit is contained in:
pmakhov 2017-12-04 17:10:19 -05:00
parent c2ddb3a38d
commit 3c19b57643
1 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,6 @@
package.path = package.path .. ";../../secrets.lua"
local secrets = require("secrets")
local awful = require("awful")
local gears = require("gears")
local json = require("json")
local https = require("ssl.https")
local wibox = require("wibox")
@ -28,25 +27,26 @@ local function urlencode(str)
end
local translate_widget_txt = wibox.widget {
-- align = 'center',
layout = wibox.layout.flex.vertical
}
local lang_wdgt = wibox.widget{
widget = wibox.widget.textbox,
align = 'center',
valign = 'center'
-- align = 'center',
-- valign = 'center'
}
local to_translate_wdgt = wibox.widget{
widget = wibox.widget.textbox,
align = 'center',
valign = 'center'
-- align = 'center',
-- valign = 'center'
}
local translation_wdgt = wibox.widget{
widget = wibox.widget.textbox,
align = 'center',
valign = 'center',
-- align = 'center',
-- valign = 'center',
wrap = 'word_char',
}