Commit Graph

27 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 08170d67ff Update copyright notices in libraries with the help of an auto-generator 2019-09-05 10:48:50 +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 687fd49376
Merge branch 'async' of github.com:vicious-widgets/vicious into async 2019-08-23 09:48:05 +02:00
mutlusun 9d562d4e5e
add os widget to changes.md 2019-08-23 09:46:57 +02:00
Nguyễn Gia Phong 268f4acfd9 [bat_openbsd] Deprecate io.popen 2019-08-16 20:43:28 +07:00
mutlusun 875e98e24e
[helpers.lua] Removed old sysctl functions 2019-07-31 18:26:06 +02:00
mutlusun d6e21f71d0
[cpufreq_freebsd][fanspeed_freebsd] Deprecate syncronous sysctl 2019-07-31 18:22:49 +02:00
mutlusun 04e8a49d2e
[cpu_freebsd] Deprecate synchronous sysctl 2019-07-31 18:07:04 +02:00
mutlusun 2b60a72d06
[uptime_freebsd] Deprecate synchronous sysctl 2019-07-31 17:51:47 +02:00
mutlusun df4048da37
[thermal_freebsd] Deprecate synchronous sysctl 2019-07-31 17:09:11 +02:00
Nguyễn Gia Phong 0e7f5e5bcb [hddtemp_linux] Deprecate io.popen 2019-06-22 18:12:37 +07:00
Nguyễn Gia Phong 565d74cc8b [fs] Deprecate io.popen
Also clarify unit prefix convention
2019-06-22 17:25:18 +07:00
Nguyễn Gia Phong c91167f954 [hwmontemp_linux] Deprecate io.popen
Note that all failures now return an empty table instead of { N/A },
since N/A indicates missing information from a successful attempt.
2019-06-22 14:37:47 +07:00
Nguyễn Gia Phong db446c35d9 [mpd] Deprecate io.popen 2019-06-05 10:57:18 +07:00
Nguyễn Gia Phong 62e9a757df [{wifi,wifiiw}_linux] Deprecate io.popen 2019-05-29 21:46:02 +07:00
Nguyễn Gia Phong 7ae6a84b52 [mdir] Switch to async call
mdir is only semi-tested that it does work:
I have not set up maildir to check if the matching patterns are correct
2019-05-29 21:46:02 +07:00
mutlusun 992d835c2e [battery_freebsd] switch to awful.spawn.easy_async 2019-05-26 19:17:21 +02:00
Nguyễn Gia Phong 383d91399f [gmail] Switch to awful.spawn.easy_async 2019-05-16 22:15:44 +07:00
Nguyễn Gia Phong 6f002577b9 [volume_freebsd] Use spawn.easy_async instead of io.popen
NOTE: Similar to volume_linux, the default mute symbol has also been changed.
2019-05-16 21:50:54 +07:00
Nguyễn Gia Phong 6ba97712f5 Introduce helpers.setasyncall which simplifies calling of async wtype
Also add note about potential breakage on changing default symbol in volume_linux
2019-05-15 16:12:15 +07:00
Nguyễn Gia Phong 1d96075f6c Clean up spawn and widget types using it 2019-05-14 13:32:28 +07:00
Nguyễn Gia Phong ea0c5a4b85 Release 2.3.3 2019-03-12 09:47:30 +07:00
Nguyễn Gia Phong a3759eb8a4 Nitpick documentation for 2.3.2 release 2019-02-14 20:32:55 +07:00
Joerg Thalheim a13ddc0892 Next release, tag v2.3.1 2017-11-28 21:32:19 +00:00
Joerg Thalheim eb64e0dd3a Next release, tag v2.3.0 2017-11-25 09:28:44 +00:00
Jörg Thalheim c56a9b1ccc
Next release, tag v2.2.0 2017-03-30 17:39:02 +02:00