This code would have to check if unpack or table.unpack is the function
to use. Instead of adding this check, this commit just removes the
trivial use of unpack.
Fixes: https://github.com/awesomeWM/awesome/issues/2802
Signed-off-by: Uli Schlachter <psychon@znc.in>
If the host name begins with a slash then we assume that it is a unix
socket. Else, we use a TCP connection as before.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This uses awesome's .luacheckrc for recipes also.
In the long run we might want to enforce luacheck for recipes, but
currently there are quite some issues still.
This calls a quite arbitrary callback which could cause an error. Thus,
only call it when everything else is done.
Signed-off-by: Uli Schlachter <psychon@znc.in>
There is only a single icon that this code ever uses. However, it goes
through lots of trouble to move that icon uselessly around. Remove that.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This would just more-or-less use the font that naughty already uses by
itself. Put differently: This has (in most cases) no effect.
Signed-off-by: Uli Schlachter <psychon@znc.in>
It is my understanding that [title](target) is meant for external links
while [[title|target]] does internal links. The main difference here is
that ikiwiki automatically finds the target and makes it work with its
directory structure, so that no "manual ../" is needed.
This amends/fixes commit f9e7311e.
Signed-off-by: Uli Schlachter <psychon@znc.in>