Commit Graph

495 Commits

Author SHA1 Message Date
Andreas Geisenhainer b08364bb12 fanspeed: change string match call to simpler tonumber() cast
Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-20 21:13:25 +01:00
Andreas Geisenhainer 3d4cc4a089 updates README to reflect the change in battery widget
Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-20 20:24:55 +01:00
Andreas Geisenhainer 438c58565e battery: replace current bat_freebsd widget with acpitool based one
Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-20 20:23:18 +01:00
Andreas Geisenhainer 8c56196c0c bat_freebsd: adds wear-level between remaining_capacity and present_rate
Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-20 20:19:11 +01:00
Andreas Geisenhainer 163aed7213 expands the memory widget to work on FreeBSD
* use sysctl vm.stats.vm and hw information to estimate the user memory
 * only works for RAM, as of now
 * retain the original return values and add FreeBSD specific ones
   - active+inactive
   - buffered+wired
   see: https://wiki.freebsd.org/Memory for more information

Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-08 13:50:25 +01:00
Andreas Geisenhainer ce1901a86f adds acpitool-based battery widget
* returns 4 values:
     - current state
     - capacity in percent
     - remaining time
     - currert dis-/charge rate

Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-08 13:08:51 +01:00
Andreas Geisenhainer fde31037b9 expands thermal_freebsd wigdet to handle multiple values
* takes a table of strings
 * returns a table of values (one value for each entry)

Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-08 12:56:14 +01:00
Andreas Geisenhainer 3ce5994e61 adds fanspeed widget for FreeBSD
* will read systemctl to get the fanspeed
 * needs to be feed with a sysctl-string

Signed-off-by: Andreas Geisenhainer <psycorama@datenhalde.de>
2017-01-08 12:49:38 +01:00
mutlusun d52a1dc3a6 add cpufreq and cpuinf widget (not tested for date like bug) 2017-01-05 10:48:25 +01:00
mutlusun 8e9c7b62ac add simple widgets (not testet for date like bug) 2017-01-05 08:57:16 +01:00
mutlusun 25d13bac82 add gmail widget (not testet for date-like bug, but should work) 2017-01-04 13:06:58 +01:00
mutlusun 23c4e8de81 fixed wrong calculations in cpu_freebsd 2017-01-04 13:05:12 +01:00
mutlusun 6ef9a39702 added cpu widget (not affected by bug; usable) 2017-01-01 16:11:33 +01:00
mutlusun fcfe274e46 add net widget; same bug as in date widget (not usable) 2017-01-01 16:01:50 +01:00
mutlusun 2b8cadcb34 add uptime widget; same bug as with date widget! (so not usable) 2016-12-29 07:58:26 +01:00
mutlusun bbe9aaf846 Add thermal widget 2016-12-27 10:05:39 +01:00
mutlusun 47572e9334 update readme file 2016-12-22 20:56:10 +01:00
mutlusun e28e2760c4 delete old readme file 2016-12-22 20:36:19 +01:00
mutlusun 5422733a85 add date, fs and volume widget 2016-12-22 10:11:50 +01:00
mutlusun 8a04217715 helpers.wrequire: replace error with assert 2016-12-21 23:19:35 +01:00
mutlusun 151b5f6196 assure that helpers.wrequire search widgets in order 2016-12-21 22:56:14 +01:00
mutlusun 6f5a6825a1 hide os specific code from user 2016-12-21 19:21:25 +01:00
mutlusun 82f9e8970d restructured README.md 2016-12-21 16:04:35 +01:00
mutlusun 80cf499237 add freebsd battery widget 2016-12-20 16:46:52 +01:00
Mellich b6c5a57f41 Added new wifi widget using iw (#20)
* added new wifi widget that uses iw
2016-10-22 23:19:00 +02:00
zhrtz 5fc0e2dae2
Added hwmon interface support, dropped the annoying floating .0 with math.floor 2016-08-18 07:22:22 +02:00
Keith Hughitt e7ee21cc73
Updated base URL for weather widget 2016-08-18 07:22:22 +02:00
Julian Volodia 59841b30b4
README: missing bracket in `batwidget` example
Added missing bracket and remove one whitespace (it would be more consistent)

Signed-off-by: Julian Volodia <julianvolodia@gmail.com>
2016-08-18 07:22:22 +02:00
Shadowmourne G 99944631c7
contrib: add nvidia infomation widget type 2016-08-18 07:22:22 +02:00
Jörg Thalheim a31d49b00b
helpers.lua: fix typo in comment 2016-08-18 07:22:22 +02:00
Jörg Thalheim c760e43b98
widgets/gmail: shell escape feed variable 2016-08-18 07:22:22 +02:00
Jörg Thalheim 8c79e866e9
README.md: apply changes from REAMDE 2016-08-18 07:22:16 +02:00
Jörg Thalheim 080e28504a Merge branch 'master' of http://git.sysphere.org/vicious 2015-07-26 08:38:41 +02:00
crondog 211a2bfcf5 contrib: make pulse compatible with lua5.3
String.format does like converting float to hex (or int for that
matter). This fixes the issue

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-07-24 15:08:18 +02:00
Suseika 56b353e773 add instructions for Gmail account for vicious.widgets.gmail widget
Signed-off-by: J?rg Thalheim <joerg@higgsboson.tk>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-07-24 15:01:12 +02:00
Noah Tilton 02e1142749 handle case if pacmd fails
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-03-28 19:45:46 +01:00
Jörg Thalheim 9c535a19bd fix indentation
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-03-28 19:45:44 +01:00
Adrian C. (anrxc) 340883180d README: new FreeBSD code by Rudi Siegel
I don't know for a fact there are (many) more compatible widgets than
in Richard's work. I have faith there are, no offense intended.
2014-12-28 19:58:43 +01:00
blastmaster 44dd0a60cf new gears.timer
timer implementation move from c to lua.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-12-28 19:45:30 +01:00
Benoît Zugmeyer 5869a54b20 gmail: fix error when gmail.com is unreachable
ex: no internet connection

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-19 00:40:56 +01:00
Jörg Thalheim 336ce9bbd7 shell escape variables before passing them to the shell
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-15 22:03:12 +01:00
Benoît Zugmeyer 50fd2334b6 gmail: fix subject when gmail feed is in one line
For some time now, gmail feeds are in a single line. The goal of this patch is to handle
both cases (single and multiline). It will find the text between title tags after the
first entry tag.

Since the first feed title is skiped with this regex, title regexes aren't needed anymore.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-15 21:37:29 +01:00
Andrew Merenbach 9fc02f16da fs: add FreeBSD mount point detection to regexp
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-04-21 22:25:26 +02:00
Adrian C. (anrxc) 178bc65f1b contrib: import nvidia SMI widget type
Right now nvsmi is just interested in temperature information. My
streaming server GPU 'fell of the bus' last night while decoding
video, I suspect overheating.
2014-02-09 19:30:26 +01:00
Adrian C. (anrxc) df19dac43e Next release, tag 2.1.3 2014-01-04 17:15:05 +01:00
Lyderic Lefever 6e16a412ef bat: fix broken battery remaining time (was always N/A)
Bug was introduced in commit dc556e5415 and the new discharging
symbol.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-27 17:21:40 +01:00
Adam Lee bfbc1bdd51 volume: get the normalized volume like alsamixer and DE's indicator
Or the percentage value will be different from alsamixer or desktop
environment's indicator, which confuses users.

Quote from amixer's manpage, "Use the mapped volume for evaluating the
percentage representation like alsamixer, to be more natural for human
ear."

ref:
http://git.alsa-project.org/?p=alsa-utils.git;a=blob;f=alsamixer/volume_mapping.c

Signed-off-by: Adam Lee <adam8157@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-27 17:21:35 +01:00
Adrian C. (anrxc) 3ef0f11d8e Next release, tag 2.1.2 2013-12-22 13:23:37 +01:00
Normal Ra 946271c41d bat: expose information on battery wear and tear
Modern batteries should expose information about their design capacity
which we can compare to current capacity and deduce how much 'wear'
the battery got and expose that as a negative value percentage.

Feature sent in August took a while to convince the maintainer many
modern batteries provide this information.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-22 13:14:46 +01:00
Adrian C. (anrxc) 76269896fc README: write a list of major contributors to the project
Thank you all, and thanks very much to those who contributed only once
and are omitted from the documentation.
2013-12-15 19:13:35 +01:00