4 local host = io.popen("hostname")
5 utils.host = host:read("*l")
7 function utils.run_or_kill(command)
8 -- Check throught the clients if the class match the command
9 local lower_command=string.lower(command)
10 for k, c in pairs(client.get()) do
11 local class=string.lower(c.class)
12 if string.match(class, lower_command) then
13 for i, v in ipairs(c:tags()) do
19 awful.util.spawn(command)