aboutsummaryrefslogtreecommitdiff
path: root/thermal.lua
AgeCommit message (Collapse)AuthorFiles
2010-02-12gmail: reworked feed handling and changed username formatAdrian C. (anrxc)1
Nothing hard coded in the worker now. Feeds are together with user data, easily swaped. Feeds are not widget args because user needs to modify the file for login data anyway. No progress toward safer storage, Kwallet looks promising but dbus handling is hell - what of non KDE users? Every other script, including much praised checkgmail has plain text login. Nobody cares?
2010-02-10thermal: added support for procfs and coretempAdrian C. (anrxc)1
Widget type now takes the thermal zone as an argument, or a table with 1st field as thermal zone and 2nd field as data source. Available data sources are: "proc" (procfs ACPI), "sys" (sysfs like before) and "core" (sysfs coretemp). When only the thermal zone is provided widget defaults to "sys".
2010-01-02vicious: update copyrightAdrian C. (anrxc)1
2009-11-11Cleanup widgets that use pathtotable helperAdrian C. (anrxc)1
2009-11-11thermal: widget rewritten for sysfsAdrian C. (anrxc)1
Default path is set to /sys/class/thermal but at least it's easier to switch to /sys/class/hwmon (i.e. coretemp) now without much code modification. Note; zone IDs are probably different than those in /proc/acpi/thermal_zone
2009-11-04De-obfuscate e-mail addressAdrian C. (anrxc)1
2009-10-26Ensure returned numbers are of type numberAdrian C. (anrxc)1
Thanks to Felix for bringing this to my attention. Obviously there was already a safety net for feeding progressbars and graphs... and while this makes for a good coding practice it's not a big deal. We have widgets of type textbox for one, and a lot of string concatenation happens. Strings are formatted, markup is applied...
2009-10-05Lots of coding style changesAdrian C. (anrxc)1
2009-10-04bat: added a handler for incompetent usersAdrian C. (anrxc)1
A lot of people expect widgets like this one to auto-magically work, and somehow don't understand that *they* need to make sure there is a source of information. Is ACPI module loaded? Is battery info exposed in the same place that widget expects by default? You need to answer those questions before loading the widget and sending me "bug" reports.
2009-10-02volume: added mute supportAdrian C. (anrxc)1
If a channel is muted we return 0. Something like "Muted" would be nice, but lets not break progressbars. If it doesn't concern you, then return what ever you want...
2009-10-02thermal: added some commentsAdrian C. (anrxc)1
We still stick to ACPI thermal zones because they are most commonly exposed (with proper ACPI modules loaded). But if you can find another source of temperature exposed trough /sys use it. Current code should match a lot of sources, but in some cases you will want to modify it a bit, add a dot, or limit to two numbers (except when the value is 100+, you don't want to miss the fact your CPU is melting).
2009-09-29Rewrote all headersAdrian C. (anrxc)1
2009-09-14General cleanupAdrian C. (anrxc)1
2009-08-07All worker functions are local.Adrian C. (anrxc)1
2009-08-03Coding style changes in entropy, load, thermal, uptime.Adrian C. (anrxc)1
2009-08-01Make all widgets return their worker functions when called.Adrian C. (anrxc)1
2009-07-29Import of vicious source tree.v1.0.0Adrian C. (anrxc)1
Vicious is a modular widget library for 'awesome' window manager, derived from the 'Wicked' widget library. Summary of changes: * Original wicked code modularized * Widgets ported from Wicked: - CPU, MEM, FS, NET, Date, Uptime, MPD * CPU widget rewritten, uses pattern matching * MEM widget rewritten, uses pattern matching - Swap widget merged with MEM widget type * FS widget rewritten, uses pattern matching - Also fixed padding in the process * NET widget rewritten, uses pattern matching * MPD widget rewritten, a bit more versatile * Removed deprecated helper functions * Widgets written for Vicious: - Thermal, Battery, Mbox, OrgMode, Volume, Entropy, Disk I/O, System Load, Wireless, Pacman, Maildir