From a659d1a4bc99d27a1746985e13f68efc3dd256c7 Mon Sep 17 00:00:00 2001
From: copycat-killer <dada@archlinux.info>
Date: Thu, 11 Aug 2016 13:43:35 +0200
Subject: [PATCH] #221 use string.format; wiki updated

---
 helpers.lua    | 2 +-
 util/quake.lua | 5 +++--
 wiki           | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/helpers.lua b/helpers.lua
index 8fb794c..309162e 100644
--- a/helpers.lua
+++ b/helpers.lua
@@ -93,9 +93,9 @@ function helpers.newtimer(_name, timeout, fun, nostart)
     local name = timeout
     if not helpers.timer_table[name] then
         helpers.timer_table[name] = capi.timer({ timeout = timeout })
+        helpers.timer_table[name]:start()
     end
     helpers.timer_table[name]:connect_signal("timeout", fun)
-    helpers.timer_table[name]:start()
     if not nostart then
         helpers.timer_table[name]:emit_signal("timeout")
     end
diff --git a/util/quake.lua b/util/quake.lua
index be9258c..771741e 100644
--- a/util/quake.lua
+++ b/util/quake.lua
@@ -52,8 +52,9 @@ function quake:display()
 
    if not client then
        -- The client does not exist, we spawn it
-       awful.util.spawn(self.app .. " " .. string.format(self.argname, self.name) ..
-                        " " .. self.extra, false, self.screen)
+       awful.util.spawn(string.format("%s %s %s", self.app,
+                        string.format(self.argname, self.name), self.extra),
+                        false, self.screen)
        self.notexist = true
        return
    end
diff --git a/wiki b/wiki
index 380e58f..8d62fdf 160000
--- a/wiki
+++ b/wiki
@@ -1 +1 @@
-Subproject commit 380e58f33a5a092cf36072458f7a2a4d1b07698e
+Subproject commit 8d62fdf794fe0d26802a7d0f7cf156e6b5b620f1
-- 
2.39.5