So I've been configuring my AwesomeWM theme on Linux and I came across this issue. Now I'm not an expert programmer of course so I thought I'd come here to ask for help. I've been trying to check if the day of the month is a number from 1 to 9, which will then change the padding of the focused number on the calendar, but it doesn't seem to work..
if (os.time(%d)>= 1) and (os.time(%d) <= 9) then
theme.calendar_focus_padding = dpi(5)
else
theme.calendar_focus_padding = dpi(10)
end
I'm getting errors on a whole different file (my rc.lua) which I don't really understand why. Here's the screenshot if anyone understands.
All I can understand from this is that it has an issue with the following lines of code (from my rc.lua file):
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
I know this is very specific to ask on stack overflow, but if anyone could help, I'd really appreciate that.