From d749ee8ac4e6a828281387be79fb4ee93649b844 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 30 May 2013 17:49:19 +0200 Subject: I3 Config --- .i3/scripts/json_escape.lua | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .i3/scripts/json_escape.lua (limited to '.i3/scripts/json_escape.lua') diff --git a/.i3/scripts/json_escape.lua b/.i3/scripts/json_escape.lua new file mode 100644 index 0000000..03860b7 --- /dev/null +++ b/.i3/scripts/json_escape.lua @@ -0,0 +1,3 @@ +function conky_json(str) + return string.gsub(conky_parse(str), '[\\"]', '\\%1') +end -- cgit v1.2.3-70-g09d2