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
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
Joerg Thalheim
2877baa7f4
Do not hide loading errors when widgets failed to load
...
Previously the use of pcall masked errors.
2017-11-24 12:16:32 +00:00
Joerg Thalheim
94f91c57ab
cmus: use correct shell escape function
2017-11-22 21:05:24 +00:00
Juan Carlos Menonita
5f6acea35c
Add widget for cmus (follow mpd conventions) ( #46 )
...
* Add widget for cmus (follow mpd conventions)
* Add widget for cmus (follow mpd conventions)
* Add default socket address when XDG_RUNTIME_DIR is not set
* cmus: use on/off instead of true/false
- default value was a boolean which is not valid in our format function
and would lead to a crash
- on/off seems more human readable
* cmus: shell-escape user supplied variables
* Add default socket address when XDG_RUNTIME_DIR is not set
2017-11-22 21:01:30 +00:00
Beniamin Kalinowski
f3d69142c6
Readme: fix repl usage & deadlink
2017-11-16 16:13:29 +00:00
Joerg Thalheim
1cfa040fbd
re-add format parameter.
...
This broke custom formats in the date widget.
2017-10-23 15:24:17 +01:00
Brandon Hartshorn
750532a1d8
volume: allow to pass multiple arguments to amixer ( #44 )
...
* Added option for a table to configure volume widget, allowing device specification also.
* Updated README.md with new configuration options for volume widget
* volume: allow passing a list of commandline arguments
2017-10-08 15:33:32 +01:00
getzze
983253a27f
Allow asynchronous call (for Awesome4+) ( #32 )
2017-07-13 21:42:26 +01:00
Jörg Thalheim
fe10ee8201
README.md: update examples awesome v4 api
2017-07-09 19:39:30 +01:00
Jörg Thalheim
aabb3d3ae5
Merge pull request #37 from dudelson/master
...
Change bat widget discharging state char from U+2212 to U+002D
2017-05-28 09:02:20 +01:00
David Udelson
ad327267bd
Change bat widget discharging state char from U+2212 to U+002D
...
This avoids using a unicode character that looks just like a hyphen but
isn't, leading to subtle bugs when developers write code that interacts
with the bat_linux widget.
2017-05-27 12:19:42 -04:00
Jörg Thalheim
5b9b4961d8
helpers:shellquote: stringify argument
...
fixes #34
2017-04-17 16:50:23 +02:00
Michael Kressibucher
941e50294a
Readme.md wibox for battery widget example ( #33 )
...
* Use wibox for battery widget example
* mention color gradient/margin
2017-04-01 21:44:56 +02:00
Jörg Thalheim
4c082ace6b
add myself as new maintainer
2017-03-30 17:48:52 +02:00
Jörg Thalheim
c56a9b1ccc
Next release, tag v2.2.0
2017-03-30 17:39:02 +02:00
Jörg Thalheim
f2bddbb009
Merge pull request #30 from mutlusun/get_custom_data
...
get custom data from a widget
2017-02-27 10:34:01 +01:00
Jörg Thalheim
d266d95b00
Merge pull request #31 from jmccrohan/contrib_pulse_round
...
contrib: make pulse round rather than floor volume
2017-02-27 10:24:55 +01:00
mutlusun
171b69216e
update README
2017-02-27 10:13:29 +01:00
mutlusun
edabd477e2
allow a format function as argument
2017-02-27 10:00:59 +01:00
Jonathan McCrohan
f7f63f18c1
contrib: make pulse round rather than floor volume
...
Check volpercent to see if ceil or floor should be used.
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2017-02-25 15:27:40 +00:00
mutlusun
b00e7c6cd0
get custom data from a widget
2017-02-23 22:48:39 +01:00
mutlusun
f2aa096f83
small fix in bat_freebsd
2017-02-23 22:36:22 +01:00
Jörg Thalheim
96c13b326b
Revert "Handle single widget arguments to force ( #29 )"
...
This reverts commit 043e50322d
.
2017-02-22 20:41:35 +01:00
James Reed
043e50322d
Handle single widget arguments to force ( #29 )
...
* Handle single widget arguments to force
* update README (force/single-use)
2017-02-22 11:14:53 +01:00
Roberto
d9ecb9f20d
Added support for power usage
2017-02-17 19:23:37 +01:00
Jörg Thalheim
25a291e4ea
Merge pull request #28 from starenka/patch-1
...
fixing `nil` sent to curl
2017-02-17 19:09:52 +01:00
starenka
e8bf98eb7f
Fix for not working gmail widget
2017-02-17 00:21:56 +01:00
starenka
6ec9977851
fixing `nil` sent to curl
2017-02-15 16:35:18 +01:00
Jörg Thalheim
7ac333c571
Merge pull request #25 from whirm/dio-iotime
...
Add iotime field to dio widget.
2017-01-29 16:28:16 +01:00
Elric Milon
e66ce03a51
Add iotime keys to README.md
2017-01-29 12:02:57 +01:00