Joerg Thalheim
1cfa040fbd
re-add format parameter.
...
This broke custom formats in the date widget.
2017-10-23 15:24:17 +01:00
getzze
983253a27f
Allow asynchronous call (for Awesome4+) ( #32 )
2017-07-13 21:42:26 +01:00
mutlusun
edabd477e2
allow a format function as argument
2017-02-27 10:00:59 +01:00
mutlusun
b00e7c6cd0
get custom data from a widget
2017-02-23 22:48:39 +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
Jörg Thalheim
080e28504a
Merge branch 'master' of http://git.sysphere.org/vicious
2015-07-26 08:38:41 +02: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
Adrian C. (anrxc)
c51e13c35d
init: stop allocating reg table functions with properties
...
This partly reverts commit f1844decef
because a user reported seeing
nil passed as the object to the reg.update() function.
2013-12-15 18:34:55 +01:00
Adrian C. (anrxc)
52cbb64144
Revert "init: emit timeout instead of forced update"
...
This reverts commit 932bd8dfc
because with shared timers feature from
commit 211d4509
shared timer emitting timeout can update all shared
objects.
2013-12-15 18:27:12 +01:00
Jörg Thalheim
b0e631f8d6
Merge branch 'master' of http://git.sysphere.org/vicious
...
Conflicts:
contrib/README
2013-11-25 09:40:39 +01:00
Dodo
211d4509c1
init: share timers when possible
...
We need time to give this a proper test with various usage scenarios;
multiple screens (and thus widget object instances), widgets
suspending and resuming and so on. Most benefits should come from
running on battery power (and if not suspending all widgets but
Battery it self on battery power), with less wake-ups.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-11-23 20:36:50 +01:00
Jörg Thalheim
01893953a6
Merge branch 'master' of http://git.sysphere.org/vicious
2012-06-25 20:53:19 +02:00
Adrian C. (anrxc)
1a7b43068c
contrib: initialization bugfix after lua52 port
...
The _NAME field was missing in the contrib table. Thanks to Jorg
Thalheim for reporting this.
2012-06-25 00:15:51 +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
Adrian C. (anrxc)
18e1823ded
vicious: cleanup tabs and bad intendation
2011-08-18 20:44:04 +02:00
Joerg T. (Mic92)
f1844decef
Allocate reg table with all values in one shot
2011-08-18 20:39:22 +02:00
Adrian C. (anrxc)
932bd8dfcb
init: emit timeout instead of forced update
2010-10-09 10:03:21 +02:00
Adrian C. (anrxc)
fbd2af7b15
init: add set_markup support
2010-10-08 22:26:08 +02:00
Adrian C. (anrxc)
a9d6ea21e6
init: add connect_signal support, patch by Uli
2010-09-14 15:21:16 +02:00
Adrian C. (anrxc)
fbfcc495fc
init: comment connect_signal for users of awesome master
...
Thanks to all who sent patches. Usually I would support master, but in
this case we are very far from the next release. In addition master is
(much more than usually) unstable right now.
2010-09-13 22:26:33 +02:00
Adrian C. (anrxc)
1a443cda66
init: import contrib widgets, commented
2010-08-29 00:50:51 +02:00
Adrian C. (anrxc)
237470c8f4
API: transform widgets namespace table to a directory
2010-03-14 01:55:33 +01:00
Adrian C. (anrxc)
9a82d4113a
init: never pass string to awful.widget widgets
2010-03-13 22:46:45 +01:00
Adrian C. (anrxc)
3ac4fcf150
init: missing widget type should not break awesome
2010-03-13 21:51:40 +01:00
Adrian C. (anrxc)
edb4619a55
os: import operating system information widget
...
This widget type returns 1st value as the operating system in use, 2nd
as the release version, 3rd as your username and 4th the hostname.
2010-03-12 03:37:39 +01:00
Adrian C. (anrxc)
fa40e402a7
init: never pass nil into awful.widget widgets
2010-03-07 21:43:18 +01:00
Adrian C. (anrxc)
5f41c7a238
init: do not use keyword type for user data
2010-03-07 04:10:57 +01:00
Adrian C. (anrxc)
ee64644ddc
API: added force() function to force update widgets
...
New function introduced vicious.force({ widget, }) - widget argument
is a table with one or more widgets that will be updated.
2010-03-07 03:09:44 +01:00
Adrian C. (anrxc)
95e9a771b9
API: regregister() and update() are not exposed
2010-03-07 02:39:26 +01:00
Adrian C. (anrxc)
5226d10c27
API: function enable_caching() is now cache()
2010-03-07 00:56:42 +01:00
Adrian C. (anrxc)
91925e601d
pkg: pacman moved to generic packages module
2010-02-04 18:36:27 +01:00
Adrian C. (anrxc)
15dd6ea287
vicious: update copyright
2010-01-02 21:21:54 +01:00
Adrian C. (anrxc)
493150c888
uptime: merged with load widget type
...
Total uptime and seconds are no longer returned. Returns are now:
days, hours, minutes, load avg 1, load avg 5 and load avg 15.
2009-11-11 03:55:03 +01:00
Adrian C. (anrxc)
7be560b70c
bat: widget rewritten for sysfs
...
This also means that it replaces batsys, and we are left with only
one, universal, battery widget.
2009-11-11 03:50:25 +01:00
Adrian C. (anrxc)
8e21d264d2
batat: widget type removed, now available in the contrib branch
...
This was one of the first widgets on top of Wicked, now that we have
both procfs and sysfs covered there is no need to keep it in master.
2009-11-10 15:53:04 +01:00
Adrian C. (anrxc)
e66e5075a0
batsys: import battery widget that uses sysfs
...
Initial widget code was sent by Benedikt Sauer. After some cleanup it
is ready to go into master. It uses data exposed trough /sys and it is
used in the exact same way as the bat widget (and /proc). This widget
will replace batat and acpitool, it will be moved to contrib and
retired.
2009-11-10 15:46:54 +01:00
Adrian C. (anrxc)
896df4dd98
De-obfuscate e-mail address
2009-11-04 23:39:38 +01:00
Adrian C. (anrxc)
40d7881977
Adapt to awful.widget.graph max_value of 1
...
Vicious will now divide values by 100 to match the default graph
max_value of 1. Graphs support changing this value, but progressbars
don't. We shouldn't use 100 for one and 1 for the other.
2009-10-20 21:15:19 +02:00
Adrian C. (anrxc)
724366c038
Reworked some variables in entropy, load, mpd, net, init
2009-10-04 00:21:15 +02:00
Adrian C. (anrxc)
b0f737ea56
Rewrote all headers
2009-09-29 22:33:19 +02:00
Adrian C. (anrxc)
eadf0c93e1
Caching is controlled by users
2009-09-25 21:16:55 +02:00
Adrian C. (anrxc)
c9fba4e0d2
Widgets derived from wicked include a notice
2009-09-20 23:16:10 +02:00
Adrian C. (anrxc)
68b30a3cc7
init: Default to 2s timer
2009-09-19 17:31:52 +02:00
Adrian C. (anrxc)
2a5126f4f0
General cleanup
2009-09-14 17:25:23 +02:00
Adrian C. (anrxc)
161607e517
Gmail widget included
...
Widget returns the count of new and subject of last e-mail in a Gmail
inbox. Use ${count} and ${subject} in the format string to retrieve
the values. Widget takes a table with login information as an
argument.
I don't like how gmail widgets handle sensitive data but I gave in
seeing how popular they are. Better storing and handling of login
information would be in order but this isn't Python and I'm out of
ideas. For now use it on your own responsability, I would suggest to
set login info directly in the widget and file as read-only by user.
2009-09-08 22:46:59 +02:00
Adrian C. (anrxc)
2cc4e9701c
Removed deprecated data field.
2009-08-27 01:04:47 +02:00
Adrian C. (anrxc)
e7c2e2c2a8
Updated graphs and pbars for the upcoming awesome 3.4
2009-08-27 01:04:14 +02:00
Adrian C. (anrxc)
853fafcdd3
Updated timers for the upcoming awesome 3.4
2009-08-27 01:03:51 +02:00
Adrian C. (anrxc)
c283edc6cc
Updated link to wicked home.
2009-08-25 15:14:40 +02:00