Lorenzo Gaggini
9cf9e994cd
[mpd] fixes if-else block missing end ( #81 )
2019-03-18 19:48:48 +07:00
Lorenzo Gaggini
f37566b0af
[mpd] Add playing progress percentage ( #80 )
2019-03-16 08:38:52 +07:00
Lorenzo Gaggini
60c57e8a41
[mpd] More math.floor for format progress fix
2019-03-15 21:36:52 +07:00
Nguyễn Gia Phong
ea0c5a4b85
Release 2.3.3
2019-03-12 09:47:30 +07:00
Enric Morales
3f42e7aeb9
[bat_openbsd] Fix compatibility with Lua 5.3 and remaining time display ( #78 )
...
Also remove duplicated environment
2019-03-12 09:21:29 +07:00
mutlusun
d9c4714731
Merge pull request #77 from mutlusun/master
...
update bat_freebsd
2019-03-08 15:16:08 +01:00
mutlusun
1003ed4e92
update bat_freebsd
2019-03-08 08:20:27 +01:00
Enric Morales
96c9d59eb5
Add battery support for OpenBSD ( #76 )
2019-03-08 11:57:08 +07:00
Juan Carlos Menonita
bb74db1835
[mpd] Use math.floor when formatting song progress ( #75 )
...
This ensure compatibility with Lua 5.3
2019-03-04 10:23:23 +07:00
Nguyễn Gia Phong
a3759eb8a4
Nitpick documentation for 2.3.2 release
2019-02-14 20:32:55 +07:00
Alexander Koch
ded191cf4e
widgets: Add hwmontemp_linux
...
Introduce hwmontemp_linux widget, which provides name-based access to hwmon
sensors via sysfs.
2019-02-14 19:42:53 +07:00
Nguyễn Gia Phong
36abb4f26c
Update weather widget type to use Awesome async API
...
Timeout for fetching data could be removed
since this widget would run on another thread.
2019-02-12 20:43:45 +07:00
Nguyễn Gia Phong
94037efc6c
Update NOAA link used by weather_all to HTTPS
...
Thank @yipengsun for the catch. Close #73
2019-02-05 16:21:01 +07:00
Nguyễn Gia Phong
ef36b77221
Add note about awesome's awful.widget.watch
...
For simpler widgets that only fetch data from a command,
it might be easier to use awesome's standard library,
thus is it noted in the README just in case an user isn't
aware of that feature.
Also fix a typo.
2019-01-26 15:59:39 +07:00
Daniel Hahler
699760651b
Fix luacheck issues and add .luacheckrc ( #72 )
...
Uses `reg.timeout` for clarity (triggered via "shadowing upvalue timer
on line 13"), but keeps `reg.timer` for backward compatibility.
2019-01-23 10:00:38 +01:00
Nguyễn Gia Phong
6da3c9304a
Update stack graph example
2019-01-23 05:11:12 +07:00
Daniel Hahler
1272c3ad1b
update: handle stacked graphs
...
With stacked graphs each stack entry (via `stack_colors`) has its own
data point, and `data` is expected to be a table.
The `get_stack` getter was just added to awesome via [1] in [2] to
handle this case.
1: https://github.com/awesomeWM/awesome/pull/284
2: 3be423fcb3
2019-01-23 05:01:57 +07:00
Alexander Koch
6b4910e0d1
helpers: Fix typo in widget-not-found error message
2019-01-15 20:55:45 +07:00
Jörg Thalheim
d11703d589
move format_progress to mpd module
...
The function is not used by any other module and is only really useful
for formatting durations as exposed by mpd.
2018-12-15 00:10:38 +07:00
Jörg Thalheim
a902a23b5c
README.md: documentation nitpick for mpd
2018-12-15 00:10:38 +07:00
Nguyễn Gia Phong
e84be352c5
Make mpd widget type expose more info
...
By default, format time values in [hh:]mm:ss. Also use printf instead of
echo, which is shell-specific.
2018-12-15 00:10:38 +07:00
Nguyễn Gia Phong
5d2eda1225
Reformat README.md
2018-12-01 02:40:07 +07:00
Nguyễn Gia Phong
065bd1d009
Remove manual XML entities escape in widgets
2018-10-22 21:42:31 +07:00
Nguyễn Gia Phong
f1dd53edd2
Escape XML entities by default
...
Since most Awesome widgets provide set_widget method,
texts are likely to be parsed to Pango which consume
these entities and may fail on invalid ones.
2018-10-22 21:42:31 +07:00
Jörg Thalheim
873662209c
Merge pull request #52 from BeniaminK/data_caching_fixes
...
Data caching fixes
2018-10-10 16:42:51 +01:00
Jörg Thalheim
979cc46d80
Merge pull request #59 from jgkamat/jay/memavailable
...
Use MemAvailable for mem.free
2018-09-28 07:33:23 +01:00
Jay Kamat
0db5f3f222
Use MemAvailable for mem.free
...
The current method of calculating the amount of free memory is
incorrect. The linux kernel provides a method of getting this value,
MemAvailable, which we can simply use directly
2018-09-27 18:44:31 -07:00
mutlusun
a081bf777b
Merge pull request #58 from mutlusun/master
...
Calculating swap space using swapinfo on FreeBSD
2018-06-27 23:01:50 +02:00
mutlusun
af979a04f7
read swapinfo in megabytes
2018-06-20 22:53:16 +02:00
mutlusun
2e832bc82e
remove print statements (for testing purposes)
2018-06-06 22:46:03 +02:00
mutlusun
6e185bc89e
calculating swap space using swapinfo (more reliable)
2018-06-06 21:55:36 +02:00
mutlusun
18d9d3aa35
Merge remote-tracking branch 'upstream/master'
2018-06-06 21:24:23 +02:00
mutlusun
d9287de8e6
Merge pull request #56 from psycorama/master
...
FreeBSD memory widgets bugfixes and improvements
2018-03-19 20:44:09 +01:00
Andreas Geisenhainer
0c2313dcdd
mem: adds information about used memory without freeable parts
...
* used memory (values 1 and 2) are: everything but free+cache
* laundry is counted as freeable, but not free.
** "notfreeable memory" (values 11 and 12) are: active+inactive+wired
2018-03-16 18:16:55 +01:00
Andreas Geisenhainer
df5fa77428
memory freebsd: re-organizes memory assignment for used and unused memory
...
* removes unused variables
* enhances one-character-variables for better readabilitiy
* fixes calculation errors
** used memory: active, inactive, and wired
** available memory: cached, laundry, and free
see https://wiki.freebsd.org/Memory for more information
2018-03-12 21:24:04 +01:00
mutlusun
0280ac2243
freebsd memory clean ups and correct calculation
2018-03-12 21:22:48 +01:00
mutlusun
57bab3542b
adds critical charging state to FreeBSDs battery widget
2018-03-12 21:22:48 +01:00
mutlusun
ebc3a08c9c
freebsd memory clean ups and correct calculation
2018-03-10 12:56:59 +01:00
Beniamin Kalinowski
13a28d5485
Caching worker data instead of formatted values.
...
For each of the wtype formatted data was being cached instead of the data returned from the worker. This fix caches the returned values.
2018-01-20 14:16:31 +09:00
Beniamin Kalinowski
1f6359e306
More concise default timer settings.
2018-01-20 14:05:21 +09:00
Beniamin Kalinowski
eb0c07e3fc
Setting up initial values for a cache.
2018-01-20 12:33:53 +09:00
Joerg Thalheim
a81435e1be
fs: fix shell quoting of optional argument
...
fixes #49
2017-11-30 08:50:23 +00:00
Joerg Thalheim
a13ddc0892
Next release, tag v2.3.1
2017-11-28 21:32:19 +00:00
Joerg Thalheim
050dbd30d3
Allow widget to be a function again
...
This was broke by async support.
2017-11-28 18:19:23 +00:00
Joerg Thalheim
eb64e0dd3a
Next release, tag v2.3.0
2017-11-25 09:28:44 +00:00
Joerg Thalheim
6f8c0a9969
btc: fix markdown markup
2017-11-25 09:22:36 +00:00
Jörg Thalheim
6bf2468bec
Merge pull request #47 from 0x5b/devel
...
Bitcoin price widget
2017-11-25 09:16:37 +00:00
Joerg Thalheim
dcdfe3345c
btc: also usuable with cjson
2017-11-25 09:14:36 +00:00
Joerg Thalheim
52e9b72217
btc: remove synchronous variant and dead code
2017-11-24 18:13:37 +03:00
0x5b
5eec03a3c3
Bitcoin price widget.
...
Async receiving bitcoin price.
Simple text widget. Provides a price in any currency by code:
(https://en.wikipedia.org/wiki/ISO_4217 )
2017-11-24 18:13:13 +03:00