mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
improvements
This commit is contained in:
parent
c2ddb3a38d
commit
3c19b57643
1 changed files with 7 additions and 7 deletions
|
@ -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',
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue