Reno is the second iteration of the AWMTK-powered AwesomeWM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
617 B

2 years ago
  1. -- Base for widgets
  2. local awmtk2 = require("awmtk2")
  3. local wibox = require("wibox")
  4. local gears = require("gears")
  5. local awful = require("awful")
  6. local beautiful = require("beautiful")
  7. return function(args)
  8. local style = awmtk2.create_style("popuptitle",awmtk2.default,args.style)
  9. local templates = awmtk2.create_template_lib("popuptitle",awmtk2.templates,args.templates)
  10. local t = awmtk2.build_templates(templates,style)
  11. local widget = wibox.widget(t.container(t.article({
  12. icon = root_path.."/themes/"..global.theme.."/"..args.icon,
  13. title = args.title
  14. })))
  15. return widget
  16. end