mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 20:40:15 +02:00
widgets: let clock update every two seconds
Most widgets are updated every two seconds. This is stupid to not update the clock too. It would be better to update it at the next minute but we would need to handle the timers ourselves.
This commit is contained in:
parent
d02e89700f
commit
853760b466
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ local datewidget = widget({ type = "textbox" })
|
|||
local dateformat = "%a %d/%m, %H:%M"
|
||||
vicious.register(datewidget, vicious.widgets.date,
|
||||
'<span color="' .. beautiful.fg_widget_clock .. '">' ..
|
||||
dateformat .. '</span>', 61)
|
||||
dateformat .. '</span>')
|
||||
local dateicon = widget({ type = "imagebox" })
|
||||
dateicon.image = image(beautiful.icons .. "/widgets/clock.png")
|
||||
local cal = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue