2024-02-18 20:26:15 -08:00
|
|
|
local awful = require "awful"
|
|
|
|
local gears = require "gears"
|
|
|
|
local wibox = require "wibox"
|
|
|
|
local beautiful = require "beautiful"
|
|
|
|
local naughty = require "naughty"
|
|
|
|
local menubar = require "menubar"
|
|
|
|
local hotkeys_popup = require "awful.hotkeys_popup"
|
|
|
|
require "awful.hotkeys_popup.keys"
|
|
|
|
-- Clock
|
2024-02-18 14:31:14 -08:00
|
|
|
|
|
|
|
local date = wibox.widget.textbox()
|
2024-02-18 20:26:15 -08:00
|
|
|
date.font = beautiful.font_name.."11"
|
|
|
|
gears.timer {
|
2024-02-18 14:31:14 -08:00
|
|
|
timeout = 60,
|
|
|
|
autostart = true,
|
|
|
|
call_now = true,
|
|
|
|
callback = function()
|
|
|
|
date.markup = os.date(" %a %b %d")
|
2024-02-18 20:26:15 -08:00
|
|
|
end
|
|
|
|
}
|
|
|
|
|
2024-02-18 14:31:14 -08:00
|
|
|
|
|
|
|
return date
|