Commit Graph

8 Commits

Author SHA1 Message Date
Nguyễn Gia Phong f54f1a7d8e Update some copyright headers along with style change
Additionall introduce helpers.setcall to replace the cumbersome setmetatable
at the end of most synchronous widget types
2019-09-05 12:41:38 +07:00
Nguyễn Gia Phong 83efd26802 Nitpick style, mainly to make luacheck happy
Only cover the widget types that were recently refactored.
A few conventions are set as followed:
* Textwidth is preferably 80, since the whole point of tiling windows
  is to be able to view more pane of codes
* Standard, 3rd-party and local require should be grouped together
* Closing parentheses should not be on lines by themselves

There should be a style guide to clarify these.
2019-08-23 22:50:13 +07:00
mutlusun 73b664b63e [FreeBSD] switched to async call (and fixed previous bug) 2019-05-27 09:42:22 +02:00
mutlusun 992d835c2e [battery_freebsd] switch to awful.spawn.easy_async 2019-05-26 19:17:21 +02:00
mutlusun 1003ed4e92 update bat_freebsd 2019-03-08 08:20:27 +01:00
mutlusun 57bab3542b adds critical charging state to FreeBSDs battery widget 2018-03-12 21:22:48 +01:00
mutlusun f2aa096f83 small fix in bat_freebsd 2017-02-23 22:36:22 +01:00
mutlusun 5628c9e478
port bat widget to freebsd 2017-01-25 21:25:38 +01:00