aboutsummaryrefslogtreecommitdiff
path: root/i3/conky-i3bar
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2015-07-13 13:07:07 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2015-07-13 13:07:07 +0200
commit215132eeb92a0e95cd6424de2fd9f9b9563557a7 (patch)
tree690c088258d0c19cd0b881bfbea1a1e72d40bf28 /i3/conky-i3bar
parentcf70c57848905d810541f454a6d272da6ed47b25 (diff)
downloaddotfiles-215132eeb92a0e95cd6424de2fd9f9b9563557a7.tar.gz
dotfiles-215132eeb92a0e95cd6424de2fd9f9b9563557a7.zip
changed .* to *;
Diffstat (limited to 'i3/conky-i3bar')
-rwxr-xr-xi3/conky-i3bar13
1 files changed, 13 insertions, 0 deletions
diff --git a/i3/conky-i3bar b/i3/conky-i3bar
new file mode 100755
index 0000000..bb1bb8e
--- /dev/null
+++ b/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/.i3/conkyrc