From 8a6dcd266fdd582e13abf0155f95f17378c624f8 Mon Sep 17 00:00:00 2001 From: luke bonham Date: Fri, 26 Apr 2013 19:09:55 +0200 Subject: [PATCH] blackburn: added vicious caching --- rc.lua.blackburn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rc.lua.blackburn b/rc.lua.blackburn index c89603c..d3453d8 100755 --- a/rc.lua.blackburn +++ b/rc.lua.blackburn @@ -157,6 +157,12 @@ coldef = "" white = "" gray = "" +-- Vicious caching +vicious.cache(vicious.widgets.gmail) +vicious.cache(vicious.widgets.mpd) +vicious.cache(vicious.widgets.fs) +vicious.cache(vicious.widgets.bat) +vicious.cache(vicious.widgets.volume) -- Textclock widget mytextclock = awful.widget.textclock(white .. "%H:%M" .. coldef) @@ -292,8 +298,6 @@ mytextclock:buttons(util.table.join( awful.button({ }, 1, function() add_calenda awful.button({ }, 3, function() add_calendar(1) end))) -- GMail widget --- you need a .netrc file in your home directory filled with this: --- machine mail.google.com login YOUR_MAIL password YOUR_PASS mygmail = wibox.widget.textbox() gmail_t = awful.tooltip({ objects = { mygmail },}) notify_shown = false @@ -541,6 +545,7 @@ arrl_pre:set_image(beautiful.arrl_lr_pre) arrl_post = wibox.widget.imagebox() arrl_post:set_image(beautiful.arrl_lr_post) + -- Layout -- Create a wibox for each screen and add it