awesomerc: change default time to be human readable
This will also reduce awesome wake up by only printing minutes. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
46144588f5
commit
2a45cd556f
|
@ -408,11 +408,8 @@ awful.hooks.arrange.register(function (screen)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Hook called every second
|
-- Hook called every minute
|
||||||
awful.hooks.timer.register(1, function ()
|
awful.hooks.timer.register(60, function ()
|
||||||
-- For unix time_t lovers
|
mytextbox.text = os.date(" %a %b %d, %H:%M ")
|
||||||
mytextbox.text = " " .. os.time() .. " time_t "
|
|
||||||
-- Otherwise use:
|
|
||||||
-- mytextbox.text = " " .. os.date() .. " "
|
|
||||||
end)
|
end)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
Loading…
Reference in New Issue