local wibox = require('wibox') local awful = require('awful') local gears = require('gears') function todo_list_widget(s) local text = wibox.widget{ markup = '\n TODO\n - Hello', align = 'left', valign = 'top', font = "Ubuntu 20", widget = wibox.widget.textbox } local widget = wibox.widget.background(text, "#000000aa", function(cr, width, height) gears.shape.rounded_rect(cr, width, height, 20) end) widget.shape_border_width = 1 widget.shape_border_color = "#ffffff" widget.forced_width = 500 widget.forced_height = 500 widget.point = { x = 20, y = 30 } return widget end function add_background_widget(s) background_widget = awful.wibar({ screen = s, height = s.geometry.height, bg = "#00000000", }) local text = wibox.widget.textbox("Hello to you") text.point = { x = 75, y = 200 } local w = todo_list_widget(s) background_widget:setup { layout = wibox.layout.manual, w } background_widget:struts({left=0, right=0, top=0, bottom=0}) end