Adrian C. (anrxc)
4caf95bfd0
README: update initialization instructions
...
With the Lua 5.2 port we change the way vicious is loaded as a module,
so that it remains backwards compatible with Lua 5.1 users. Also added
the author of the Lua 5.2 port to the contributors list.
2012-06-18 02:09:36 +02:00
Adrian C. (anrxc)
80d523ad93
bat: metatable bugfix after lua52 port
2012-06-18 02:01:29 +02:00
Adrian C. (anrxc)
e929bea270
widgets: cleanup behind the last commit 363c03e
2012-06-18 01:31:42 +02:00
Arvydas Sidorenko
363c03e79c
Fixed io.lines() bug
...
In Lua 5.2 io.lines() has to be used to iterate until EOF, otherwise
the fd will not be closed and eventually tons of naughty messages
will start to pop up saying that no more fd can be opened.
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:28:01 +02:00
Arvydas Sidorenko
8e35a983bf
Ported vicious.contrib to lua 5.2
...
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:27:53 +02:00
Arvydas Sidorenko
41cc2c0e27
Ported vicious.widgets module to lua 5.2
...
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:26:31 +02:00
Arvydas Sidorenko
b6b5290093
Ported vicious module to lua 5.2
...
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:26:24 +02:00
jinleileiking
e5630c1c1a
add wpa widget
2012-05-30 17:16:13 +02:00
Jörg Thalheim
8e2c35474e
Merge branch 'master' of http://git.sysphere.org/vicious
2012-05-20 22:25:59 +02:00
Adrian C. (anrxc)
0741531efd
cpufreq: skip redudant freq variable check
2012-05-20 04:19:51 +02:00
Adrian C. (anrxc)
97e54d60f8
cpufreq: rework new exception handlers
...
Now that we are so nice to provide default frequency values check if
frequency exists before calculating voltage, not to screw up *those*
default values.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-05-19 17:11:31 +02:00
jinleileiking
30db4bea7b
cpufreq: handle not existing frequency/governer
...
In some cases not all cpu informations will be provided.
(ex. in virtual machines)
Therefore default to "N/A".
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-05-19 17:11:22 +02:00
Jörg Thalheim
e0a437d497
README.md: update thermal documentation
2012-05-16 18:03:09 +02:00
Jörg Thalheim
fedfdb0d16
Merge branch 'master' of http://git.sysphere.org/vicious
2012-05-10 07:18:12 +02:00
Adrian C. (anrxc)
13cec6d35a
pkg: update 'Arch S' substitution lines
...
It would appear pacman v4 now prints only one line before the package
list.
2012-05-09 03:13:13 +02:00
Jörg Thalheim
a8a5fc14f6
Merge branch 'master' of http://git.sysphere.org/vicious
2012-04-01 14:56:14 +02:00
Jörg Thalheim
25b4d528d7
add ac plugin
2012-04-01 14:55:49 +02:00
Adrian C. (anrxc)
2d8d7d752b
Next release, tag 2.0.4
2012-04-01 00:00:05 +02:00
Adrian C. (anrxc)
f972955ce7
README: update thermal documentation
...
Thermal now accepts an optional third argument when warg is a table.
2012-03-31 20:58:10 +02:00
Adrian C. (anrxc)
5605030ed4
thermal: change coretemp default, allow file as widget argument
...
Since Linux 3.0 most if not all people have temp1_input file missing,
so default to temp2_input. But also allow an optional third argument
to change to yet another file to avoid this kind of problem in the
future.
2012-03-31 20:53:30 +02:00
Jörg Thalheim
7a3699cf4c
division by zero, if battery is full charged
...
If the battery state change from charging to full,
power_now is reseted to zero for a little time.
This cause division by zero, which was visible as a very big negative
number because of the behaviour of string.format.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-03-04 20:24:22 +01:00
Jörg Thalheim
adf4492b43
Remove duplicate module variable
2012-02-24 17:57:04 +01:00
Jörg Thalheim
5478114dca
Merge branch 'master' of http://git.sysphere.org/vicious
2012-02-06 17:53:43 +01:00
Adrian C. (anrxc)
b11bb78e04
hddtemp: fix curl hang in version 7.24.0
2012-02-05 19:38:22 +01:00
Jörg Thalheim
29f809e819
[bat] division by zero, if battery is full charged
...
If the battery state change from charging to full,
power_now is reseted to zero for a little time.
This cause division by zero, which was visible as a very big negative
number because of the behaviour of string.format.
2012-01-29 12:47:20 +01:00
Jörg Thalheim
7fd6234fa0
use shorter extension for Markdown
2012-01-20 16:11:41 +01:00
Jörg Thalheim
3d371fe893
escape underscores in markup
2012-01-20 16:10:51 +01:00
Jörg Thalheim
06be7857ef
Merge branch 'master' of http://git.sysphere.org/vicious
2012-01-20 15:40:29 +01:00
Adrian C. (anrxc)
73db82b4c9
README: add format function example for overriding symbols
2012-01-20 14:35:07 +01:00
Sébastien Luttringer
7e81bb8a95
cpufreq: differentiate between ondemand and conservative
...
In cpufreq widget, governor char is the same for ondemand and
conservative which makes it impossible to overload symbols to
different values for these two governors in a format function.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-01-20 14:21:24 +01:00
J. Thalheim
64ff3090d0
markup code samples as lua code
2011-12-17 09:35:45 +01:00
J. Thalheim
c715d94471
Fix second level lists
2011-12-17 09:12:24 +01:00
J. Thalheim
2fedbfad74
Update README.markdown to latest changes in README
2011-12-17 08:59:34 +01:00
J. Thalheim
9b936f19cf
Merge branch 'master' of http://git.sysphere.org/vicious
2011-12-17 08:34:15 +01:00
Adrian C. (anrxc)
6f42ee5e51
README: update wtype argument explanation
...
Many users miss the fact they can register their functions as widget
types. Documentation for wtype being incomplete wasn't helping.
2011-12-10 17:34:38 +01:00
J. Thalheim
caff9a5269
Convert plain text README in to a markdown one.
2011-11-27 13:42:43 +01:00
niko
19604ca8a0
[net] fix division by zero
2011-11-26 12:55:43 +01:00
J. Thalheim
541cc90a0c
Merge branch 'master' of http://git.sysphere.org/vicious
...
Conflicts:
widgets/bat.lua
2011-11-21 10:50:25 +01:00
Adrian C. (anrxc)
45c6ebaeb6
bat: fix time calculation, bug introduced in 350e924
2011-11-20 17:44:04 +01:00
J. Thalheim
5c7df93baa
[bat] Fix bug introduced in 78e3d37fb5
...
Instead of setting the remaining time to reasonable values, remaining
time was always set to 0, because of math.min().
2011-11-20 09:09:15 +01:00
J. Thalheim
e77576ac69
Merge branch 'master' of http://git.sysphere.org/vicious into HEAD
...
Conflicts:
widgets/bat.lua
widgets/thermal.lua
2011-11-20 02:19:16 +01:00
J. Thalheim
cd4b04df44
thermal: remove unnecessary read
2011-11-19 02:24:34 +01:00
Adrian C. (anrxc)
350e9240ea
bat: another workaround for broken ACPI implementations
2011-11-19 02:20:08 +01:00
Mic92
8f6232dbdb
Merge pull request #1 from wtfcoder/master
...
Prevent negative numbers when chargining
This happens on some laptops such as Acer
2011-11-17 12:56:03 -08:00
Wtfcoder
78e3d37fb5
Some laptops such as Acer timeline cause time remaining to be a massive negative number when charging.
2011-11-17 22:10:56 +07:00
J. Thalheim
4d8c8bfae6
[thermal] remove unnecessary read
2011-11-16 13:19:07 +01:00
Joerg T. (Mic92)
4d4e639ecf
Rename widget sumup to countfiles
2011-10-25 20:47:39 +02:00
Joerg T. (Mic92)
a67b52c226
Merge branch 'master' of http://git.sysphere.org/vicious
2011-09-24 21:15:14 +02:00
Joerg T. (Mic92)
eeb27a2916
[cpu] fix division by zero
...
In rare cases diff_total seems to become 0.
2011-09-24 17:43:27 +02:00
Joerg T. (Mic92)
d794616e64
[cpu] fix division by zero
...
In rare cases diff_total seems to become 0.
2011-09-18 12:59:33 +02:00