diff options
author | pmakhov <pavel.makhov@savoirfairelinux.com> | 2017-12-04 17:10:19 -0500 |
---|---|---|
committer | pmakhov <pavel.makhov@savoirfairelinux.com> | 2017-12-04 17:10:19 -0500 |
commit | 3c19b57643c455931add2e4613f873a38dd8794e (patch) | |
tree | 8779a3d513b1c8391079add3da9d872a72ae8ac1 | |
parent | c2ddb3a38da3cdcdabef41c87c76bae4436c323c (diff) |
improvements
-rw-r--r-- | translate-widget/translate.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/translate-widget/translate.lua b/translate-widget/translate.lua index b4cd485..0f1cbb3 100644 --- a/translate-widget/translate.lua +++ b/translate-widget/translate.lua @@ -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', } |