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

textclock deprecations removed; closes #133

This commit is contained in:
copycat-killer 2017-01-14 17:23:31 +01:00
parent 3c8a746a20
commit ea34410fbb
6 changed files with 6 additions and 6 deletions

View file

@ -122,7 +122,7 @@ green = "#8FEB8F"
-- Textclock -- Textclock
--os.setlocale(os.getenv("LANG")) -- to localize the clock --os.setlocale(os.getenv("LANG")) -- to localize the clock
mytextclock = awful.widget.textclock("<span font='Tamsyn 5'> </span>%H:%M ") mytextclock = wibox.widget.textclock("<span font='Tamsyn 5'> </span>%H:%M ")
-- Calendar -- Calendar
lain.widgets.calendar.attach(mytextclock) lain.widgets.calendar.attach(mytextclock)

View file

@ -119,7 +119,7 @@ white = beautiful.fg_focus
gray = "#858585" gray = "#858585"
-- Textclock -- Textclock
mytextclock = awful.widget.textclock(markup(gray, " %a") mytextclock = wibox.widget.textclock(markup(gray, " %a")
.. markup(white, " %d ") .. markup(gray, "%b ") .. markup(white, "%H:%M ")) .. markup(white, " %d ") .. markup(gray, "%b ") .. markup(white, "%H:%M "))
-- Calendar -- Calendar

View file

@ -118,7 +118,7 @@ markup = lain.util.markup
-- Textclock -- Textclock
os.setlocale(os.getenv("LANG")) -- to localize the clock os.setlocale(os.getenv("LANG")) -- to localize the clock
clockicon = wibox.widget.imagebox(beautiful.widget_clock) clockicon = wibox.widget.imagebox(beautiful.widget_clock)
mytextclock = awful.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#535f7a", ">") .. markup("#de5e1e", " %H:%M ")) mytextclock = wibox.widget.textclock(markup("#7788af", "%A %d %B ") .. markup("#535f7a", ">") .. markup("#de5e1e", " %H:%M "))
--[[ --[[
mytextclock = lain.widgets.base({ mytextclock = lain.widgets.base({
timeout = 60, timeout = 60,

View file

@ -119,7 +119,7 @@ separators = lain.util.separators
-- Textclock -- Textclock
clockicon = wibox.widget.imagebox(beautiful.widget_clock) clockicon = wibox.widget.imagebox(beautiful.widget_clock)
--mytextclock = awful.widget.textclock(" %a %d %b %H:%M") --mytextclock = wibox.widget.textclock(" %a %d %b %H:%M")
mytextclock = lain.widgets.abase({ mytextclock = lain.widgets.abase({
timeout = 60, timeout = 60,

View file

@ -121,7 +121,7 @@ white = beautiful.fg_focus
gray = beautiful.fg_normal gray = beautiful.fg_normal
-- Textclock -- Textclock
mytextclock = awful.widget.textclock(markup.font("Tamsyn 3", " ") .. mytextclock = wibox.widget.textclock(markup.font("Tamsyn 3", " ") ..
markup(white, " %H:%M ")) markup(white, " %H:%M "))
-- Calendar -- Calendar

View file

@ -119,7 +119,7 @@ markup = lain.util.markup
gray = "#94928F" gray = "#94928F"
-- Textclock -- Textclock
mytextclock = awful.widget.textclock(" %H:%M ") mytextclock = wibox.widget.textclock(" %H:%M ")
-- Calendar -- Calendar
lain.widgets.calendar.attach(mytextclock) lain.widgets.calendar.attach(mytextclock)