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.

16 lines
543 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("systray",awmtk2.default,args.style)
  9. local templates = awmtk2.create_template_lib("systray",awmtk2.templates,args.templates)
  10. local t = awmtk2.build_templates(templates,style)
  11. local widget = wibox.widget(t.container({
  12. widget = wibox.widget.systray
  13. }))
  14. return widget
  15. end