mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
blackburn: added vicious caching
This commit is contained in:
parent
184ee18a0c
commit
8a6dcd266f
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue