summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2017-11-14 00:01:44 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2017-11-14 00:01:44 +0000
commit6d7a2293dce625e9c678d8243e97442b7b34a74c (patch)
tree475d9d74a60796402f3d3d6ea7d46577d01dc0fc
parent31678ade84b1b874ddeea09afc834efcac24466f (diff)
downloadawesome-master.tar.gz
Make rc.lua compatible with lua 5.3HEADmaster
Debian's awesome package is now built against lua 5.3 rather than 5.1; update rc.lua accordingly.
-rw-r--r--.config/awesome/rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 50b5778..230521b 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -62,7 +62,7 @@ editor = os.getenv("EDITOR") or "editor"
editor_cmd = terminal .. " -e " .. editor
-- System Info
-local popen_cmds = io.popen("hostname -f; egrep -o '([0-9]+)\.([0-9]+)(.[0-9]+)\-([0-9]+)' /proc/sys/kernel/version")
+local popen_cmds = io.popen("hostname -f; egrep -o '([0-9]+)\\.([0-9]+)(.[0-9]+)\\-([0-9]+)' /proc/sys/kernel/version")
local hostname = popen_cmds:read("*l")
local kernel = popen_cmds:read("*l")
popen_cmds:close()