1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

blackburn: added vicious caching

This commit is contained in:
luke bonham 2013-04-26 19:09:55 +02:00
parent 184ee18a0c
commit 8a6dcd266f

View file

@ -157,6 +157,12 @@ coldef = "</span>"
white = "<span color='#d7d7d7'>" white = "<span color='#d7d7d7'>"
gray = "<span color='#9e9c9a'>" gray = "<span color='#9e9c9a'>"
-- 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 -- Textclock widget
mytextclock = awful.widget.textclock(white .. "%H:%M" .. coldef) 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))) awful.button({ }, 3, function() add_calendar(1) end)))
-- GMail widget -- 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() mygmail = wibox.widget.textbox()
gmail_t = awful.tooltip({ objects = { mygmail },}) gmail_t = awful.tooltip({ objects = { mygmail },})
notify_shown = false notify_shown = false
@ -541,6 +545,7 @@ arrl_pre:set_image(beautiful.arrl_lr_pre)
arrl_post = wibox.widget.imagebox() arrl_post = wibox.widget.imagebox()
arrl_post:set_image(beautiful.arrl_lr_post) arrl_post:set_image(beautiful.arrl_lr_post)
-- Layout -- Layout
-- Create a wibox for each screen and add it -- Create a wibox for each screen and add it