aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md3
-rw-r--r--config.dot/awesome.link/wibox.lua1
-rw-r--r--config.dot/awesome.link/widgets.lua6
3 files changed, 8 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index 8d9048a..1ec9ca3 100644
--- a/TODO.md
+++ b/TODO.md
@@ -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 = {}