aboutsummaryrefslogtreecommitdiff
path: root/config/i3/conky-i3bar
diff options
context:
space:
mode:
Diffstat (limited to 'config/i3/conky-i3bar')
-rwxr-xr-xconfig/i3/conky-i3bar13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/i3/conky-i3bar b/config/i3/conky-i3bar
new file mode 100755
index 0000000..56159c3
--- /dev/null
+++ b/config/i3/conky-i3bar
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# Send the header so that i3bar knows we want to use JSON:
+echo '{"version":1}'
+
+# Begin the endless array.
+echo '['
+
+# We send an empty first array of blocks to make the loop simpler:
+echo '[],'
+
+# Now send blocks with information forever:
+exec conky -c $HOME/.config/i3/conkyrc.json