]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/topbar.lua
awesome: calendar widget
[dotfiles.git] / awesome / topbar.lua
index b945d80193a7dd846dd4c5ffd579344168ca8cec..638e9675edae866cf4048e4254dbf4310619d0d8 100644 (file)
@@ -5,7 +5,6 @@ local utils = require("utils")
 local wibox = require("wibox")
 
 -- Create a textclock widget
-mytextclock = awful.widget.textclock(" %a %b %d, %k:%M ", 10)
 separator = wibox.widget.textbox()
 separator:set_markup('<span font="Symbola 10" color="#404040">│</span>')
 
@@ -97,7 +96,7 @@ for s = 1, screen.count() do
         right_layout:add(require("widgets/battery_widget"))
     end
     right_layout:add(separator)
-    right_layout:add(mytextclock)
+    right_layout:add(require("widgets/calendar"))
     right_layout:add(mylayoutbox[s])
 
     -- Now bring it all together (with the tasklist in the middle)