diff options
Diffstat (limited to 'config.dot')
-rw-r--r-- | config.dot/awesome.link/wibox.lua | 1 | ||||
-rw-r--r-- | config.dot/awesome.link/widgets.lua | 6 |
2 files changed, 7 insertions, 0 deletions
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 = {} |