diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-11-15 16:11:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-11-15 16:11:30 -0200 |
commit | 8cf6a7af175379f170762ff743edead6ecf549d1 (patch) | |
tree | fa52cf13e23977f584ca71efbc0adb906d9422c1 | |
parent | d29393280d814f3f6fd065b4fa969f9ab939ebd4 (diff) | |
download | awesome-8cf6a7af175379f170762ff743edead6ecf549d1.tar.gz awesome-8cf6a7af175379f170762ff743edead6ecf549d1.tar.bz2 |
Normal clock
-rw-r--r-- | TODO.md | 3 | ||||
-rw-r--r-- | config.dot/awesome.link/wibox.lua | 1 | ||||
-rw-r--r-- | config.dot/awesome.link/widgets.lua | 6 |
3 files changed, 8 insertions, 2 deletions
@@ -4,6 +4,5 @@ TODO Widgets ------- -* Date. -* Clock. * USB status. +* Audio volume. diff --git a/config.dot/awesome.link/wibox.lua b/config.dot/awesome.link/wibox.lua index d1cc5c5..fadb04b 100644 --- a/config.dot/awesome.link/wibox.lua +++ b/config.dot/awesome.link/wibox.lua @@ -85,6 +85,7 @@ for s = 1, screen.count() do arr2, --netwidget, --neticon, + clockwidget, arr3, batwidget, baticon, diff --git a/config.dot/awesome.link/widgets.lua b/config.dot/awesome.link/widgets.lua index 7317cf2..1387de0 100644 --- a/config.dot/awesome.link/widgets.lua +++ b/config.dot/awesome.link/widgets.lua @@ -107,6 +107,12 @@ neticon.image = image(beautiful.widget_net) netwidget:buttons(awful.util.table.join(awful.button({ }, 1, function () awful.util.spawn_with_shell(iptraf) end))) +--{{---| Normal clock |------------------------------------------------------------------------------- + +clockwidget = widget({ type = "textbox" }) +vicious.register(clockwidget, vicious.widgets.date, +'<span background="#C2C2A4" font="Terminus 12"> <span font="Terminus 9" color="#FFFFFF">%d/%m/%Y %H:%M</span> </span>', 3) + --{{---| Binary Clock |----------------------------------------------------------------------------- binaryclock = {} |