mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
textclock deprecations removed; closes #133
This commit is contained in:
parent
3c8a746a20
commit
ea34410fbb
|
@ -122,7 +122,7 @@ green = "#8FEB8F"
|
|||
|
||||
-- Textclock
|
||||
--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
|
||||
lain.widgets.calendar.attach(mytextclock)
|
||||
|
|
|
@ -119,7 +119,7 @@ white = beautiful.fg_focus
|
|||
gray = "#858585"
|
||||
|
||||
-- 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 "))
|
||||
|
||||
-- Calendar
|
||||
|
|
|
@ -118,7 +118,7 @@ markup = lain.util.markup
|
|||
-- Textclock
|
||||
os.setlocale(os.getenv("LANG")) -- to localize the 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({
|
||||
timeout = 60,
|
||||
|
|
|
@ -119,7 +119,7 @@ separators = lain.util.separators
|
|||
|
||||
-- Textclock
|
||||
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({
|
||||
timeout = 60,
|
||||
|
|
|
@ -121,7 +121,7 @@ white = beautiful.fg_focus
|
|||
gray = beautiful.fg_normal
|
||||
|
||||
-- Textclock
|
||||
mytextclock = awful.widget.textclock(markup.font("Tamsyn 3", " ") ..
|
||||
mytextclock = wibox.widget.textclock(markup.font("Tamsyn 3", " ") ..
|
||||
markup(white, " %H:%M "))
|
||||
|
||||
-- Calendar
|
||||
|
|
|
@ -119,7 +119,7 @@ markup = lain.util.markup
|
|||
gray = "#94928F"
|
||||
|
||||
-- Textclock
|
||||
mytextclock = awful.widget.textclock(" %H:%M ")
|
||||
mytextclock = wibox.widget.textclock(" %H:%M ")
|
||||
|
||||
-- Calendar
|
||||
lain.widgets.calendar.attach(mytextclock)
|
||||
|
|
Loading…
Reference in a new issue