From d3cec3196d8e7734ddd0750aaeeaa49966a7fb34 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 18 May 2016 11:59:19 +0200 Subject: Add i3 config Signed-off-by: Florian Pritz --- .i3/conky-wrapper.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 .i3/conky-wrapper.sh (limited to '.i3/conky-wrapper.sh') diff --git a/.i3/conky-wrapper.sh b/.i3/conky-wrapper.sh new file mode 100755 index 0000000..7d90551 --- /dev/null +++ b/.i3/conky-wrapper.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# Send the header so that i3bar knows we want to use JSON: +printf "%s" '{"version":1}' + +# Begin the endless array. +printf "%s" '[' + +# We send an empty first array of blocks to make the loop simpler: +printf "%s" '[],' + +# Now send blocks with information forever: +exec conky -c "$HOME/.i3/conkyrc" -- cgit v1.2.3-24-g4f1b