]>
git.madduck.net Git - etc/awesome.git/commitdiff
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
558622c )
local awful = require("awful")
local naughty = require("naughty")
local mouse = mouse
local awful = require("awful")
local naughty = require("naughty")
local mouse = mouse
-local os = { date = os.date }
-local string = { format = string.format,
- gsub = string.gsub }
+local os = os
+local string = string
local ipairs = ipairs
local tonumber = tonumber
local setmetatable = setmetatable
local ipairs = ipairs
local tonumber = tonumber
local setmetatable = setmetatable
calendar.icon = calendar.icons:len() > 0 and string.format("%s%s.png", calendar.icons, tonumber(os.date("%d")))
f = calendar.cal
else -- no current month showing, no day to highlight
calendar.icon = calendar.icons:len() > 0 and string.format("%s%s.png", calendar.icons, tonumber(os.date("%d")))
f = calendar.cal
else -- no current month showing, no day to highlight
- local month = tonumber(os.date("%m"))
local year = tonumber(os.date("%Y"))
local year = tonumber(os.date("%Y"))
-
- month = month + calendar.offset
+ local month = tonumber(os.date("%m")) + calendar.offset
while month > 12 do
month = month - 12
while month > 12 do
month = month - 12
-Subproject commit 2268c893712e579f1b68f25be8ff9caf9767312f
+Subproject commit 89f3d98e339f07545aec31e94a3ecf42245b6316