Commit Graph

59 Commits

Author SHA1 Message Date
Adrian C. (anrxc) 03693e7aa1 Renamed unused loop identifiers to _ 2009-08-08 17:42:28 +02:00
Adrian C. (anrxc) 9f75b0dc9d Spurious folds removed from helpers. 2009-08-07 23:23:07 +02:00
Adrian C. (anrxc) 41d4acb7a2 Truncate helper, txtlen is local. 2009-08-07 23:19:50 +02:00
Adrian C. (anrxc) 3b3e0dc7cf CHANGES file updated. Will probably switch to shortlog. 2009-08-07 17:50:06 +02:00
Adrian C. (anrxc) d4595bb00f All worker functions are local. 2009-08-07 17:41:10 +02:00
Adrian C. (anrxc) 8b38567d75 Added missing poolsize info to the README + minor change in fs.lua 2009-08-06 22:03:21 +02:00
Adrian C. (anrxc) 798036e445 Changed fs widget type description. 2009-08-06 21:59:12 +02:00
Adrian C. (anrxc) 8d59a01cf6 Next release, tag 1.0.8. 2009-08-06 18:21:13 +02:00
Adrian C. (anrxc) d2d244f3aa CPU Information widget included.
Widget returns speed and cache information for all available
CPUs/cores. It stores cpu speed in mhz and ghz in a table as well as
cpu cache in kb and mb. Values are retrieved using the CPU ID, i.e. we
would retrieve speed in ghz for CPU or core 1 with this format string:
${1 ghz}.
2009-08-06 18:18:45 +02:00
Adrian C. (anrxc) cbd9a53fbc Next release, tag 1.0.7. 2009-08-06 02:41:46 +02:00
Adrian C. (anrxc) 013dd08225 HDD Temperature widget included.
Widget uses the hddtemp daemon to return the temperatures for all
available hard drives. It uses curl and connects to the daemon over
telnet.
2009-08-06 02:26:23 +02:00
Adrian C. (anrxc) 515cc0dd6b Weather widget switched to curl.
It is somewhat lighter, faster and simpler than wget. It is as common
as wget these days... from GnuPG to Git and Gimp, they all depend on
it, and we all have it installed.
2009-08-06 01:50:50 +02:00
Adrian C. (anrxc) 477b8d284a CHANGES file updated before the next push. 2009-08-05 23:08:47 +02:00
Adrian C. (anrxc) f14280bf9c Pacman widget updated for pacman 3.3.
Pacman 3.3 returns one package on a line, without any other
information. So now we count lines, while before the list of packages
was provided on one line along with the number of updates - so we
didn't have to count them. Old code was commented out, and is waiting
for removal.
2009-08-05 22:53:42 +02:00
Adrian C. (anrxc) b46278a746 Lower the wget timeout to 3s in weather.lua 2009-08-05 22:44:47 +02:00
Adrian C. (anrxc) eaf8470111 Cleaned up sample widgets in the README 2009-08-05 22:33:44 +02:00
Adrian C. (anrxc) 44aea404c7 Remove a spurious comment from helpers.lua 2009-08-05 22:21:37 +02:00
Adrian C. (anrxc) 3c76e0ddd2 Introduced the truncate helper.
Function takes two arguments, the text to be truncated and the max
lenght. Last three characters will be replaced by "...". Mbox and MPD
widgets that previously did it them selves are now using this helper.
2009-08-05 22:11:11 +02:00
Adrian C. (anrxc) 2d0cbf562e Fixed the weather widget, wind km/h was broken. 2009-08-05 21:58:04 +02:00
Adrian C. (anrxc) 4c74de711f Padding removed, along with deprecated helper functions.
If you have any use for it then continue using an older vicious tag,
or keep maintaining it in your local vicious copy.
2009-08-05 21:50:41 +02:00
Adrian C. (anrxc) 2d4efa6893 Minor cleanup in init.lua 2009-08-05 21:19:41 +02:00
Adrian C. (anrxc) 22033bae53 Disallow using a string widget type. 2009-08-05 19:20:32 +02:00
Adrian C. (anrxc) 756215f020 Next release, tag 1.0.6. 2009-08-03 04:43:53 +02:00
Adrian C. (anrxc) 5909d9eacb Updated the CHANGES file in preparation for tag v1.0.6. 2009-08-03 04:42:08 +02:00
Adrian C. (anrxc) cef569b6f1 CPU frequency widget included.
The cpufreq widget supplements the cpu widget. It returns the current
CPU scaling frequency (in MHz and GHz), voltage (in mV and V) and
governor information for a requested CPU. If supported by the
processor and correct kernel modules are loaded.
2009-08-03 04:40:55 +02:00
Adrian C. (anrxc) 3fe67d4311 Coding style changes in entropy, load, thermal, uptime. 2009-08-03 04:33:18 +02:00
Adrian C. (anrxc) 09fda0ab05 Rewrite of the escape helper.
It is simillar to the awful.util.escape now, using a table which we
could expand (and rename) with other unwated characters if it comes to
that. I saw awesome break on many occasions because of encoding
problems.
2009-08-03 04:29:06 +02:00
Adrian C. (anrxc) 047dba0e5d Next release, version/tag 1.0.5. 2009-08-01 23:15:09 +02:00
Adrian C. (anrxc) cad950a838 Updated the CHANGES file in preparation for tag v1.0.5. 2009-08-01 23:13:29 +02:00
Adrian C. (anrxc) 418151f57e Make all widgets return their worker functions when called. 2009-08-01 23:11:41 +02:00
Adrian C. (anrxc) 1630b786d4 Added wind speed in km/h to the weather widget. 2009-08-01 06:20:31 +02:00
Adrian C. (anrxc) f841c540d4 Updated the CHANGES file. 2009-07-31 21:53:58 +02:00
Adrian C. (anrxc) 3f851ff589 Added a note about weather symbols to the weather widget. 2009-07-31 21:53:14 +02:00
Adrian C. (anrxc) 1b9906165d Use utf symbols for some bat states. Mention LuaFileSystem in mdir.lua 2009-07-31 20:40:36 +02:00
Adrian C. (anrxc) f00558cb96 Next release, version 1.0.4. 2009-07-31 08:00:07 +02:00
Adrian C. (anrxc) 475da04ed1 Mbox mail count widget included.
The, mboxc, widget supplements the mbox widget. The mbox widget
returns the subject of the last e-mail in a mbox, while the mboxc
widget returns the count of total, old and new messages. Dealing with
potentially *HUGE* files is not easy, I tried to find some middle
ground for now, comments in the file discuss it in detail. Having the
LuaFileSystem lib would be nice, so we could do caching and avoid 90%
of the reads, but I didn't rely on external libraries to this point so
I'm not going to start now.
2009-07-31 07:49:28 +02:00
Adrian C. (anrxc) dad393b94b Updated the CHANGES file. 2009-07-30 20:47:32 +02:00
Adrian C. (anrxc) bc637062d7 Coding style fixes in battery widgets. 2009-07-30 20:47:02 +02:00
Adrian C. (anrxc) 052748a2cb Fix the key reference to custom keys in the README 2009-07-30 20:33:54 +02:00
Adrian C. (anrxc) 9c973a5a74 Updated the CHANGES file. 2009-07-30 17:36:21 +02:00
Adrian C. (anrxc) 51770fe3e5 Fixed README and moved the ChangeLog to CHANGES. 2009-07-30 17:15:21 +02:00
Adrian C. (anrxc) 2ab90dec97 Updated the ChangeLog file, for v1.0.3. 2009-07-30 04:50:30 +02:00
Adrian C. (anrxc) 0471c6a7de Next release, version 1.0.3. 2009-07-30 04:49:22 +02:00
Adrian C. (anrxc) a8dc5c6f6d Added basic documentation as a README file.
The README explains some basics. Also fixed a typo in the dio
widget description, that I noticed while writing documentation.
2009-07-30 04:44:22 +02:00
Adrian C. (anrxc) b06a5b6e15 Make git ignore org-mode files and archives. 2009-07-30 02:57:51 +02:00
Adrian C. (anrxc) 87d895f818 Next release, version 1.0.2. 2009-07-30 02:11:54 +02:00
Adrian C. (anrxc) 5ff480ddf3 Updated the ChangeLog file in preparation for a new version. 2009-07-30 02:08:46 +02:00
Adrian C. (anrxc) 2921200d0f Added handlers to batat and fixed the battery_state table.
Batat now returns "/" in situations where the battery is not
present. Last commit broke the battery_state table, fixed that.
2009-07-30 02:05:22 +02:00
Adrian C. (anrxc) e2d503ee36 Added a new, standalone, battery widget.
The widget reads /proc/acpi/battery/*/{info,state} and doesn't require
an external utility like 'acpi' or 'acpitool'. It returns state,
charge and remaining time information, just like the old bat (now
batat) widget. Using /sys/class/power_supply we would need to open
much more file descriptors so we use /proc for now.
2009-07-30 01:48:07 +02:00
Adrian C. (anrxc) 19ca7b5a03 Replaced TODO with Todo in helpers. 2009-07-29 23:40:50 +02:00