Commit Graph

676 Commits

Author SHA1 Message Date
Nguyễn Gia Phong d35eeb2ed3 [docs] Move examples from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 897ebe97b7 [docs] Move format function guide from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 5f87644d28 [docs] Move custom widget type guide from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 7701418b47 [docs] Employ sphinxcontrib.luadomain 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 1840d0b10d [docs] Move widget type API from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 901e03f39f [docs] Move caching and security notes from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong be0eb4870d [docs] Move *See also* from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong 2a8f987b22 [docs] Move basic instructions from README 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong b7d08fc84b Draft Sphinx doc structure 2020-09-21 13:15:29 +07:00
Nguyễn Gia Phong f452b5780f Nitpick whitespace and bump version 2020-09-04 17:00:59 +07:00
Alexander Koch 5e0cb0c84a [hwmontemp] Bring back sysfs path cache
Cache sysfs path resolved from given name index in local table. This avoids
spawning a `grep` process over and over again for each invocation.

Co-authored-by: Nguyễn Gia Phong <mcsinyx@disroot.org>
2020-09-03 22:06:08 +07:00
Nguyễn Gia Phong a2f83bf9d6 Release version 2.4.1 2020-05-23 21:35:59 +07:00
Elmeri Niemelä bfc0922f6e
[pkg] Fallback the number of lines before packages listing to 0 2020-05-23 21:32:34 +07:00
Nguyễn Gia Phong 3bd7b59b2c [mdir] Remove trailing semicolon 2019-12-07 16:39:09 +07:00
Nguyễn Gia Phong fa6b4e68c8 Update changelog for version 2.4 2019-10-28 13:50:20 +07:00
Nguyễn Gia Phong eca31413bd
Merge pull request #94 from vicious-widgets/copyright
Add copyright notices and contributing guidelines
2019-10-24 21:08:54 +07:00
Nguyễn Gia Phong 9283d08e35 [CONTRIBUTING.md] Fix typos and revise a few coding styles
* Relax the 80-column limit
* More as examples of call("arg") to avoid misunderstanding
  that only call"arg" is preferred.
2019-10-23 13:12:44 +07:00
Enric Morales 9493dcaa73
[cpu_openbsd] Add a CPU usage widget for OpenBSD (#95)
* [cpu_openbsd] Add a CPU usage widget for OpenBSD

* Remove filename from the header and fix the license name

* Reindent file to get rid of tabs

* Re-add file header and add space after year in copyright line

* Remove space before parens

* Make `ticks` local to the module
2019-10-18 13:27:56 +02:00
Nguyễn Gia Phong b659c3cfea
Merge branch 'master' into copyright 2019-10-17 21:30:54 +07:00
Enric Morales 1277889978 Make helpers.sysctl_async cross-platform & let bat_openbsd use it (#93) 2019-10-17 21:30:00 +07:00
Enric Morales ee970d0c68 Add a notmuch widget (#92) 2019-10-17 21:26:06 +07:00
Nguyễn Gia Phong b9c424c768 Fix styling according to CONTRIBUTING.md 2019-10-17 21:26:06 +07:00
Nguyễn Gia Phong ac86ebdb38 Add contributing guidelines and widget type templates 2019-10-17 21:26:06 +07:00
Enric Morales c16229a9b2 Make helpers.sysctl_async work on different OSes and let bat_openbsd use it (#93) 2019-10-16 21:05:32 +07:00
Enric Morales 969ea465e0 Add a notmuch widget (#92) 2019-10-15 20:11:15 +07:00
Nguyễn Gia Phong 5e7a5325f5 Update changelog and contributor list in README.md 2019-09-18 15:52:45 +07:00
Nguyễn Gia Phong 518d59fae1 Correct the copyright headers in contrib 2019-09-18 10:26:23 +07:00
Nguyễn Gia Phong bea390a75e Correct the copyright headers of the rest widget type 2019-09-14 10:33:40 +07:00
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 a542c5dbe2
Merge pull request #89 from vicious-widgets/async
Deprecate the use of io.popen in most widget types
2019-08-29 22:19:44 +07:00
Nguyễn Gia Phong d533a1d190 Revert bat_openbsd since the change is unnecessary 2019-08-24 13:49:42 +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 025d2e1ad5
added type to environmet where missing 2019-08-23 10:51:15 +02:00
mutlusun bc134d8792
[mem_freebsd] Correct async behaviour 2019-08-23 10:45:43 +02:00
mutlusun 8092915e86
[fanspeed_freebsd] Multiple fans are now supported 2019-08-23 10:08:05 +02:00
mutlusun a23952f555
corrected symbolic link to cmus_all 2019-08-23 09:58:40 +02:00
mutlusun b7490a20af
improved sysctl_async documentation line 2019-08-23 09:51:23 +02: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 16831e899c
Merge branch 'master' into async 2019-08-16 20:51:10 +07:00
Nguyễn Gia Phong 268f4acfd9 [bat_openbsd] Deprecate io.popen 2019-08-16 20:43:28 +07:00
mutlusun f5060093c6
[os_all] Splitted into os_linux and os_bsd 2019-07-31 18:51:55 +02: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
Xaver Hellauer ca075d0c8e BSSID in vicious.widgets.wifiiw 2019-07-19 09:57:25 +07:00
Xaver Hellauer a2467bead4 documentation of ${bssid} in vicious.widgets.wifiiw 2019-07-19 09:56:17 +07:00