X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/fe37fd5a0ed2d23f478a09a92959dd4a9ba5a733..0c7b0951e209739c4f0bc01413be16d01bd1076b:/awesome/utils.lua diff --git a/awesome/utils.lua b/awesome/utils.lua index c7a5492..f534770 100644 --- a/awesome/utils.lua +++ b/awesome/utils.lua @@ -1,5 +1,9 @@ local utils = { } + +local host = io.popen("hostname") +utils.host = host:read("*l") + function utils.run_or_kill(command) -- Check throught the clients if the class match the command local lower_command=string.lower(command)